1
0
Fork 0
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:
Filip Kania 2024-12-29 10:58:47 +01:00
parent 19bc0d6cbe
commit b8e184ebf2
No known key found for this signature in database

View file

@ -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".