From bb613ac8037ff0858df6d13dbf28658aa922eb1f Mon Sep 17 00:00:00 2001 From: lyrathorpe Date: Mon, 6 Jul 2026 15:36:50 +0100 Subject: [PATCH 1/3] refactor(users): drop redundant == true (statix bool_comparison) --- modules/users.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/users.nix b/modules/users.nix index ab45bf4..98cb530 100644 --- a/modules/users.nix +++ b/modules/users.nix @@ -29,10 +29,10 @@ // lib.optionalAttrs (spec ? linger) { inherit (spec) linger; } ) hostUsers; - programs.firefox = lib.mkIf (config.features.swayDesktop.enable == true) { + programs.firefox = lib.mkIf config.features.swayDesktop.enable { enable = true; }; - programs.thunderbird = lib.mkIf (config.features.swayDesktop.enable == true) { + programs.thunderbird = lib.mkIf config.features.swayDesktop.enable { enable = true; }; } -- 2.54.0 From 7a650dc7cc074d72d2bdc83afd13bf6b39e370a0 Mon Sep 17 00:00:00 2001 From: lyrathorpe Date: Mon, 6 Jul 2026 15:36:50 +0100 Subject: [PATCH 2/3] docs(sway): fix stale features.nix path in comment --- modules/sway.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sway.nix b/modules/sway.nix index 8b01ac1..29fdcdc 100644 --- a/modules/sway.nix +++ b/modules/sway.nix @@ -12,7 +12,7 @@ let in { # The features.swayDesktop.enable option is declared in - # system/modules/features.nix (so headless hosts can read/set it without + # modules/features.nix (so headless hosts can read/set it without # importing this module). This module only provides its implementation. config = lib.mkIf cfg.enable { programs.sway = { -- 2.54.0 From 9d2379bb3e91097fef94cc324e730a3d11b71357 Mon Sep 17 00:00:00 2001 From: lyrathorpe Date: Mon, 6 Jul 2026 15:36:51 +0100 Subject: [PATCH 3/3] docs(rpi5): fix stale features.nix path in comment --- hosts/RPi5/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/RPi5/configuration.nix b/hosts/RPi5/configuration.nix index 0171520..74d6702 100644 --- a/hosts/RPi5/configuration.nix +++ b/hosts/RPi5/configuration.nix @@ -17,7 +17,7 @@ # Headless server: the Sway desktop is intentionally not set up. modules/sway.nix is # not imported and features.swayDesktop.enable defaults to false (declared in - # system/modules/features.nix), so this host keeps plain TTY/SSH login. + # modules/features.nix), so this host keeps plain TTY/SSH login. # Raspberry Pi boots via U-Boot + extlinux, not GRUB/systemd-boot. The # raspberry-pi-5 nixos-hardware profile supplies the kernel, firmware and -- 2.54.0