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 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 = { 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; }; }