diff options
| author | sxyazi <sxyazi@gmail.com> | 2023-05-27 01:42:42 +0800 |
|---|---|---|
| committer | sxyazi <sxyazi@gmail.com> | 2023-05-27 01:42:42 +0800 |
| commit | cfcfcc535e74ff41e07789625040f7c38a8d40d9 (patch) | |
| tree | 167b6994b1f0a836c36238e25d8143cf021c5243 /modules/system | |
| parent | df00ca18a35b0b9fdcdb1d862410af92582f5b61 (diff) | |
feat: use enum instead of str for constraints nicer
Diffstat (limited to 'modules/system')
| -rw-r--r-- | modules/system/defaults/NSGlobalDomain.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index c9633c3..5888d7c 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -153,7 +153,7 @@ in { }; system.defaults.NSGlobalDomain.AppleWindowTabbingMode = mkOption { - type = types.nullOr types.str; + type = types.nullOr (types.enum [ "manual" "always" "fullscreen" ]); default = null; description = '' Sets the window tabbing when opening a new document: 'manual', 'always', or 'fullscreen'. The default is 'fullscreen'. |
