From ef6849a8fd05991c5a2b82a3b0083d6d1e0d22cd Mon Sep 17 00:00:00 2001 From: Bo Jeanes Date: Mon, 29 Jul 2024 14:10:37 +1000 Subject: [PATCH] Automatically switch dark/light mode in macOS --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index d618d75..dbc3f20 100644 --- a/flake.nix +++ b/flake.nix @@ -199,6 +199,9 @@ finder.ShowPathbar = true; finder.ShowStatusBar = true; + # Switch light/dark style of OS automatically based on time + NSGlobalDomain.AppleInterfaceStyleSwitchesAutomatically = true; + # Disable press-and-hold keyboard for alt characters; this messes with key repeat and I am already used to Option+key for special characters NSGlobalDomain.ApplePressAndHoldEnabled = false;