From cecdf6d21e1c4c645715b4271cc8f32ba54128dc Mon Sep 17 00:00:00 2001 From: mmenanno <1358708+mmenanno@users.noreply.github.com> Date: Tue, 15 Oct 2024 01:46:18 -0400 Subject: [PATCH 1/2] add FlashDateSeparators for time separator config --- modules/system/defaults/clock.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/system/defaults/clock.nix b/modules/system/defaults/clock.nix index 3fae4640..62196fa2 100644 --- a/modules/system/defaults/clock.nix +++ b/modules/system/defaults/clock.nix @@ -65,5 +65,13 @@ with lib; ''; }; + system.defaults.menuExtraClock.FlashDateSeparators = mkOption { + type = types.bool; + default = false; + description = '' + When enabled, the time separators will flash on and off each second. + ''; + }; + }; } From 873098d4a34cb283b060d01661b304e658532d8a Mon Sep 17 00:00:00 2001 From: mmenanno <1358708+mmenanno@users.noreply.github.com> Date: Sun, 20 Oct 2024 15:33:14 -0400 Subject: [PATCH 2/2] set default to null for FlashDateSeparators --- modules/system/defaults/clock.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/defaults/clock.nix b/modules/system/defaults/clock.nix index 62196fa2..27b00c89 100644 --- a/modules/system/defaults/clock.nix +++ b/modules/system/defaults/clock.nix @@ -66,8 +66,8 @@ with lib; }; system.defaults.menuExtraClock.FlashDateSeparators = mkOption { - type = types.bool; - default = false; + type = types.nullOr types.bool; + default = null; description = '' When enabled, the time separators will flash on and off each second. '';