From 3653cba7aa028e4de79a239b490b655d6ebe1a0f Mon Sep 17 00:00:00 2001 From: serenity-F Date: Mon, 21 Sep 2026 20:17:05 +1000 Subject: [PATCH] feat: configured UWSM for niri --- modules/features/desktop/niri.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/features/desktop/niri.nix b/modules/features/desktop/niri.nix index 95b234b..f66b16c 100644 --- a/modules/features/desktop/niri.nix +++ b/modules/features/desktop/niri.nix @@ -18,6 +18,14 @@ # session management programs.uwsm = { enable = true; + # configures uwsm to launch niri + waylandCompositors.niri = { + prettyName = "Niri"; + comment = "Niri scrolling WM managed by UWSM"; + # points to niri binary and declares it as a session + binPath = "/run/current-system/sw/bin/niri"; + extraArgs = [ "--session" ]; + }; }; # enables niri globally @@ -28,7 +36,7 @@ # niri settings home-manager.users.serenity = { - # for home manager functionality + # for niri home manager module imports = [ inputs.niri.homeModules.niri ]; programs.niri = {