From 46542a2c193060d2a672352e5f90a6ef89e81902 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Fri, 27 Dec 2024 16:12:49 +0100 Subject: [PATCH] nixos/services/greetd: fix formatting --- config/nixos/services/greetd.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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") ]; }