Correct enum values for system.defaults.NSGlobalDomain.AppleIconAppearanceTheme (#1596)
Some checks failed
Test / test-stable (push) Has been cancelled
Test / install-against-stable (push) Has been cancelled
Test / install-flake (push) Has been cancelled
Update website / Build (push) Has been cancelled
Update website / Deploy (push) Has been cancelled

This commit is contained in:
Michael Hoang 2025-09-21 09:44:43 +00:00 committed by GitHub
commit 25381509d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ in {
};
system.defaults.NSGlobalDomain.AppleIconAppearanceTheme = mkOption {
type = types.nullOr (types.enum [ "DarkRegular" "DarkAutomatic" "ClearLight" "Clear Dark" "Clear Automatic" "TintedLight" "TintedDark" "TintedAutomatic" ]);
type = types.nullOr (types.enum [ "RegularDark" "RegularAutomatic" "ClearLight" "ClearDark" "ClearAutomatic" "TintedLight" "TintedDark" "TintedAutomatic" ]);
default = null;
description = ''
Set icon and widget style

View file

@ -21,7 +21,7 @@ launchctl asuser "$(id -u -- test-defaults-user)" sudo --user=test-defaults-user
launchctl asuser "$(id -u -- test-defaults-user)" sudo --user=test-defaults-user -- defaults write -g AppleIconAppearanceTheme '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<string>DarkRegular</string>
<string>RegularDark</string>
</plist>'
launchctl asuser "$(id -u -- test-defaults-user)" sudo --user=test-defaults-user -- defaults write -g AppleKeyboardUIMode '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

View file

@ -26,7 +26,7 @@
system.defaults.NSGlobalDomain.AppleEnableMouseSwipeNavigateWithScrolls = false;
system.defaults.NSGlobalDomain.AppleEnableSwipeNavigateWithScrolls = false;
system.defaults.NSGlobalDomain.AppleFontSmoothing = 1;
system.defaults.NSGlobalDomain.AppleIconAppearanceTheme = "DarkRegular";
system.defaults.NSGlobalDomain.AppleIconAppearanceTheme = "RegularDark";
system.defaults.NSGlobalDomain.AppleICUForce24HourTime = true;
system.defaults.NSGlobalDomain.AppleKeyboardUIMode = 3;
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = true;