From 49be866f24c47afe6e97753d3561b51a0bb21565 Mon Sep 17 00:00:00 2001 From: Elec3137 Date: Fri, 6 Feb 2026 20:50:03 -0800 Subject: [PATCH] allow overriding `sddm.enable` if unchanged --- graphical/plasma.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphical/plasma.nix b/graphical/plasma.nix index bd6c25d..a9d1b06 100644 --- a/graphical/plasma.nix +++ b/graphical/plasma.nix @@ -26,7 +26,7 @@ in lib.mkIf cfg.startOnFirstTTY /* sh */ "test $(tty) = /dev/tty1 && startplasma-wayland"; - services.displayManager.sddm.enable = !cfg.startOnFirstTTY; + services.displayManager.sddm.enable = lib.mkIf cfg.startOnFirstTTY false; # remove plasma6 packages included by default # from optionalPackages defined in nixpkgs/nixos/modules/services/desktop-managers/plasma6.nix