Add system.defaults.NSGlobalDomain.AppleIconAppearanceTheme

This commit is contained in:
Quintus Cardozo 2025-09-19 13:58:48 +10:00 committed by GitHub
parent ebd0bfc11f
commit 3c7396a09c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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