diff --git a/modules/desktop-environment/home/niri/quirks.nix b/modules/desktop-environment/home/niri/quirks.nix
index ce67532..9f92af1 100644
--- a/modules/desktop-environment/home/niri/quirks.nix
+++ b/modules/desktop-environment/home/niri/quirks.nix
@@ -1,16 +1,18 @@
 {...}: {
-  window-rules = [
-    # handle steam grabbing focus 1000 times on startup
-    {
-      matches = [
-        {
-          app-id = "steam";
-        }
-      ];
-      open-focused = false;
-    }
-  ];
+  programs.niri.settings = {
+    window-rules = [
+      # handle steam grabbing focus 1000 times on startup
+      {
+        matches = [
+          {
+            app-id = "steam";
+          }
+        ];
+        open-focused = false;
+      }
+    ];
 
-  # fix electron apps not doing wayland
-  environment.ELECTRON_OZONE_PLATFORM_HINT = "auto";
+    # fix electron apps not doing wayland
+    environment.ELECTRON_OZONE_PLATFORM_HINT = "auto";
+  };
 }