mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-28 02:37:09 +00:00
Enable setting dark mode
This option does not take effect until the user logs out and then back in. I didn't call this out because I think there are several options like this already. I'm not sure Mac OS sets "Auto", but it isn't by setting this default.
This commit is contained in:
parent
943a6b25d7
commit
e038c50316
1 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,14 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.AppleInterfaceStyle = mkOption {
|
||||
type = types.nullOr (types.enum [ "Dark" ]);
|
||||
default = null;
|
||||
description = ''
|
||||
Set to 'Dark' to enable dark mode, or leave unset for normal mod.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.AppleKeyboardUIMode = mkOption {
|
||||
type = types.nullOr (types.enum [ 3 ]);
|
||||
default = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue