diff --git a/config/nixos/services/greetd.nix b/config/nixos/services/greetd.nix index 69b5615..776d69c 100644 --- a/config/nixos/services/greetd.nix +++ b/config/nixos/services/greetd.nix @@ -56,15 +56,15 @@ in { }; environment.etc."greetd/environments".text = lib.strings.concatStringsSep "\n" [ - (lib.optionalString + ( + lib.optionalString config.programs.hyprland.enable ( if config.programs.hyprland.withUWSM then "uwsm start -S hyprland-uwsm.desktop" else "Hyprland" - )) - (lib.optionalString - config.programs.sway.enable - "sway") + ) + ) + (lib.optionalString config.programs.sway.enable "sway") ]; }