nixos/services/greetd: fix formatting

This commit is contained in:
Anthony Rodriguez 2024-12-27 16:12:49 +01:00
parent 210ed38295
commit 46542a2c19
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -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")
];
}