BUG: syntax error
This commit is contained in:
parent
265f2d11bb
commit
40db1191e3
2 changed files with 8 additions and 10 deletions
|
|
@ -9,11 +9,10 @@
|
||||||
active = cfg && desktop.activeDesktop == "hyprland";
|
active = cfg && desktop.activeDesktop == "hyprland";
|
||||||
ifActive = x: lib.mkIf active x;
|
ifActive = x: lib.mkIf active x;
|
||||||
in {
|
in {
|
||||||
specialisation.hyprland.configuration =
|
specialisation.hyprland.configuration = lib.mkIf (cfg
|
||||||
lib.mkIf cfg
|
&& !active) {
|
||||||
&& !active {
|
niksos.desktop.activeDesktop = lib.mkForce "hyprland";
|
||||||
niksos.desktop.activeDesktop = lib.mkForce "hyprland";
|
};
|
||||||
};
|
|
||||||
|
|
||||||
programs = ifActive {
|
programs = ifActive {
|
||||||
hyprland = {
|
hyprland = {
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,10 @@
|
||||||
active = cfg && desktop.activeDesktop == "kde";
|
active = cfg && desktop.activeDesktop == "kde";
|
||||||
ifActive = x: lib.mkIf active x;
|
ifActive = x: lib.mkIf active x;
|
||||||
in {
|
in {
|
||||||
specialisation.kde.configuration =
|
specialisation.kde.configuration = lib.mkIf (cfg
|
||||||
lib.mkIf cfg
|
&& !active) {
|
||||||
&& !active {
|
niksos.desktop.activeDesktop = lib.mkForce "kde";
|
||||||
niksos.desktop.activeDesktop = lib.mkForce "kde";
|
};
|
||||||
};
|
|
||||||
|
|
||||||
services = ifActive {
|
services = ifActive {
|
||||||
greetd.settings = let
|
greetd.settings = let
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue