BUG: syntax error

This commit is contained in:
Jurn Wubben 2025-07-09 21:01:22 +02:00
parent 265f2d11bb
commit 40db1191e3
2 changed files with 8 additions and 10 deletions

View file

@ -9,9 +9,8 @@
active = cfg && desktop.activeDesktop == "hyprland";
ifActive = x: lib.mkIf active x;
in {
specialisation.hyprland.configuration =
lib.mkIf cfg
&& !active {
specialisation.hyprland.configuration = lib.mkIf (cfg
&& !active) {
niksos.desktop.activeDesktop = lib.mkForce "hyprland";
};

View file

@ -9,9 +9,8 @@
active = cfg && desktop.activeDesktop == "kde";
ifActive = x: lib.mkIf active x;
in {
specialisation.kde.configuration =
lib.mkIf cfg
&& !active {
specialisation.kde.configuration = lib.mkIf (cfg
&& !active) {
niksos.desktop.activeDesktop = lib.mkForce "kde";
};