summaryrefslogtreecommitdiff
path: root/home/wayland/niri/niri.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/wayland/niri/niri.nix')
-rw-r--r--home/wayland/niri/niri.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/home/wayland/niri/niri.nix b/home/wayland/niri/niri.nix
index facb35d..0391699 100644
--- a/home/wayland/niri/niri.nix
+++ b/home/wayland/niri/niri.nix
@@ -1,4 +1,34 @@
{ ... }:
{
+ imports = [
+ ./binds.nix
+ ];
+ programs.niri.settings = {
+ prefer-no-csd = true;
+ layout.shadow.enable = true;
+ input = {
+ mouse = {
+ accel-profile = "flat";
+ accel-speed = -0.5;
+ middle-emulation = true;
+ };
+ focus-follows-mouse = {
+ enable = true;
+ max-scroll-amount = "0%";
+ };
+ mod-key = "Alt";
+ keyboard.xkb.layout = "pl";
+ };
+ outputs = {
+ "DP-1" = {
+ mode = {
+ width = 2560;
+ height = 1440;
+ refresh = null;
+ };
+ scale = 1.0;
+ };
+ };
+ };
}