summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/system/defaults/screencapture.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/defaults/screencapture.nix b/modules/system/defaults/screencapture.nix
index 795cd03..351ca5f 100644
--- a/modules/system/defaults/screencapture.nix
+++ b/modules/system/defaults/screencapture.nix
@@ -50,7 +50,7 @@ with lib;
};
system.defaults.screencapture.target = mkOption {
- type = types.nullOr types.str;
+ type = types.nullOr (types.enum [ "file" "clipboard" "preview" "mail" "messages" ]);
default = null;
description = ''
Target to which screencapture should save screenshot to. The default is "file".