1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

Merge pull request #351 from nosewings/master

system.defaults: enable automatic light/dark mode
This commit is contained in:
Daiderd Jordan 2021-09-14 18:53:17 +02:00 committed by GitHub
commit f3c3b8db6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;