summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2022-07-14 16:56:55 -0500
committerGitHub <noreply@github.com>2022-07-14 16:56:55 -0500
commit54a24f042f93c79f5679f133faddedec61955cf2 (patch)
treee6173ec6386a57e393fbcfc39658336d7347b663
parent2f2bdf658d2b79bada78dc914af99c53cad37cba (diff)
parent2c6b9d9144e0b8e860c97a7c18cb758227c56a53 (diff)
Merge pull request #476 from dstcruz/ScreencaptureType
Add option to set com.apple.screencapture type
-rw-r--r--modules/system/defaults/screencapture.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/system/defaults/screencapture.nix b/modules/system/defaults/screencapture.nix
index 14142e3..f7b926a 100644
--- a/modules/system/defaults/screencapture.nix
+++ b/modules/system/defaults/screencapture.nix
@@ -13,6 +13,14 @@ with lib;
'';
};
+ system.defaults.screencapture.type = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ description = ''
+ The image format to use, such as "jpg".
+ '';
+ };
+
system.defaults.screencapture.disable-shadow = mkOption {
type = types.nullOr types.bool;
default = null;