diff options
| author | Nicholas Coltharp <coltharp@pdx.edu> | 2021-08-06 18:43:03 -0500 |
|---|---|---|
| committer | Nicholas Coltharp <coltharp@pdx.edu> | 2021-08-06 18:43:03 -0500 |
| commit | 7a3f541d5ce055af6ff8ec23bb26fa47c4f0c5f3 (patch) | |
| tree | 58201b253a45a453c2ce01ac87ea01c4b59decd8 /modules/system | |
| parent | 007d700e644ac588ad6668e6439950a5b6e2ff64 (diff) | |
system.defaults: enable automatic light/dark mode
Diffstat (limited to 'modules/system')
| -rw-r--r-- | modules/system/defaults/NSGlobalDomain.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index 6e3d4db..1115e0c 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -47,6 +47,14 @@ in { ''; }; + system.defaults.NSGlobalDomain.AppleInterfaceStyleSwitchesAutomatically = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + Whether to automatically switch between light and dark mode. The default is false. + ''; + }; + system.defaults.NSGlobalDomain.AppleKeyboardUIMode = mkOption { type = types.nullOr (types.enum [ 3 ]); default = null; |
