From 3c7396a09cf0248c586eb0a10cf5df657e86eab6 Mon Sep 17 00:00:00 2001 From: Quintus Cardozo Date: Fri, 19 Sep 2025 13:58:48 +1000 Subject: [PATCH] Add system.defaults.NSGlobalDomain.AppleIconAppearanceTheme --- modules/system/defaults/NSGlobalDomain.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index 0f77d89..da8dd88 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -52,6 +52,19 @@ in { ''; }; + system.defaults.NSGlobalDomain.AppleIconAppearanceTheme = mkOption { + type = types.nullOr (types.enum [ "DarkRegular" "DarkAutomatic" "ClearLight" "Clear Dark" "Clear Automatic" "TintedLight" "TintedDark" "TintedAutomatic" ]); + default = null; + description = '' + Set icon and widget style + + To set to default mode, set this to `null` and you'll need to manually run + {command}`defaults delete -g AppleIconAppearanceTheme`. + + This option requires logging out and logging back in to apply. + ''; + }; + system.defaults.NSGlobalDomain.AppleInterfaceStyleSwitchesAutomatically = mkOption { type = types.nullOr types.bool; default = null;