summaryrefslogtreecommitdiff
path: root/home/wayland/niri/niri.nix
blob: 03916994a7baf9d2c1822897b4a951cd60350b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
      };
    };
  };
}