From 5592ddef31c8c4294101944e9cc0b751eee1ed59 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Tue, 22 Sep 2026 01:40:54 +1000 Subject: [PATCH] fix: faulty options --- modules/features/desktop/niri.nix | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/modules/features/desktop/niri.nix b/modules/features/desktop/niri.nix index 6fa3974..2f32d17 100644 --- a/modules/features/desktop/niri.nix +++ b/modules/features/desktop/niri.nix @@ -2,7 +2,12 @@ # niri window manager module declaration flake.nixosModules.niri = - { pkgs, config, lib, ... }: + { + pkgs, + config, + lib, + ... + }: { @@ -178,7 +183,7 @@ enable = true; slowdown = 1.25; }; - window-rules = { + window-rules = [ # sets corner radius for all windows { clip-to-geometry = true; @@ -207,7 +212,7 @@ y = 720; }; } - }; + ]; # pushes wallpaper set by noctalia to lowest layer layer-rules = [ { @@ -260,8 +265,8 @@ }; # rules for specific windows - window-rules = { - + window-rules = [ + # kitty opacity { matches = [ { app-id = "kitty"; } ]; @@ -287,8 +292,8 @@ open-floating = true; open-focused = true; } - - }; + + ]; # keybinds hotkey-overlay = { @@ -318,9 +323,9 @@ # # size controls # - + }; - + }; };