zaphyra's git: nixfiles

zaphyra's nixfiles

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 
35 
36 
{
  config,
  lib,
  ...
}:

{

  config = lib.mkIf config.zaphyra.programs.niri.enable {
    programs.niri.settings = {
      gestures.hot-corners.enable = false;

      input = {
        workspace-auto-back-and-forth = true;

        focus-follows-mouse = {
          enable = true;
          max-scroll-amount = "0%";
        };

        touchpad.click-method = "clickfinger";

        keyboard.xkb = {
          layout = "us,de,ru";
          variant = "mac,qwerty,mac";
          options = "grp:alt_shift_toggle";
        };
      };

      outputs = {
        "eDP-1".scale = 1;
      };
    };
  };

}