mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-06 08:47:00 +00:00
refactor: use enum as option type
This commit is contained in:
parent
19bc0d6cbe
commit
b8e184ebf2
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ with lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
system.defaults.screencapture.target = mkOption {
|
system.defaults.screencapture.target = mkOption {
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr (types.enum [ "file" "clipboard" "preview" "mail" "messages" ]);
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
Target to which screencapture should save screenshot to. The default is "file".
|
Target to which screencapture should save screenshot to. The default is "file".
|
||||||
|
|
Loading…
Add table
Reference in a new issue