summaryrefslogtreecommitdiff
path: root/nixos/features/gui/desktops/niri.nix
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2026-01-12 20:34:54 -0500
committertriethyl <triethylammonium@pm.me>2026-01-12 20:34:54 -0500
commit5aa8bda20900c398ecc11aa57e20f00057366f2f (patch)
tree4432ef777d574c00a396693a26cc61da380410ab /nixos/features/gui/desktops/niri.nix
parentb2e6595169d47a5ca5fa4b8b6542aefb24389bd4 (diff)
nixos: switch from sddm to greetd
Diffstat (limited to 'nixos/features/gui/desktops/niri.nix')
-rw-r--r--nixos/features/gui/desktops/niri.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/features/gui/desktops/niri.nix b/nixos/features/gui/desktops/niri.nix
index c68a4b6..ed0764c 100644
--- a/nixos/features/gui/desktops/niri.nix
+++ b/nixos/features/gui/desktops/niri.nix
@@ -5,5 +5,12 @@ in {
options.features.gui.desktops.niri.enable = lib.mkEnableOption "niri";
config = lib.mkIf cfg.enable {
programs.niri.enable = true;
+ environment.etc."greetd/environments" = lib.mkIf config.services.greetd.enable (lib.mkForce {
+ text = ''
+ niri-session
+ nu
+ bash
+ '';
+ });
};
}