1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

feat: add AppleAccentColor option

This commit is contained in:
Velo ⚡ 2025-01-10 22:18:10 +01:00 committed by GitHub
parent 57733bd1dc
commit 213d234a3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 0 deletions

View file

@ -47,6 +47,25 @@ in {
'';
};
system.defaults.NSGlobalDomain.AppleAccentColor = mkOption {
type = types.nullOr (types.enum [ -1 0 1 2 3 4 5 6 ]);
default = null;
description = ''
Specifies the accent color used throughout the system interface. The value can be one of the following:
-1: Graphite
0: Red
1: Orange
2: Yellow
3: Green
4: Blue
5: Purple
6: Pink
Set this option to change the system-wide accent color. If not set, the default accent color will be used.
'';
};
system.defaults.NSGlobalDomain.AppleInterfaceStyleSwitchesAutomatically = mkOption {
type = types.nullOr types.bool;
default = null;

View file

@ -5,6 +5,7 @@
system.defaults.NSGlobalDomain.AppleEnableMouseSwipeNavigateWithScrolls = false;
system.defaults.NSGlobalDomain.AppleEnableSwipeNavigateWithScrolls = false;
system.defaults.NSGlobalDomain.AppleFontSmoothing = 1;
system.defaults.NSGlobalDomain.AppleAccentColor = 4;
system.defaults.NSGlobalDomain.AppleICUForce24HourTime = true;
system.defaults.NSGlobalDomain.AppleKeyboardUIMode = 3;
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = true;