From d693997a324d92253772ebfc7fe5d48f3633861a Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Thu, 15 May 2025 16:58:49 +1000 Subject: [PATCH] defaults: update docs for `AppleInterfaceStyle` Eventually we should implement a special type that allows deleting values. --- modules/system/defaults/NSGlobalDomain.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index 01e7a45..3e689df 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -43,7 +43,12 @@ in { type = types.nullOr (types.enum [ "Dark" ]); default = null; description = '' - Set to 'Dark' to enable dark mode, or leave unset for normal mode. + Set to 'Dark' to enable dark mode. + + To set to light mode, set this to `null` and you'll need to manually run + {command}`defaults delete -g AppleInterfaceStyle`. + + This option requires logging out and logging back in to apply. ''; };