mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 16:27:03 +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 {
|
||||
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".
|
||||
|
|
Loading…
Add table
Reference in a new issue