{ config, pkgs, ... }: {
home.file.niri_config = {
text = config.lib.generators.toKDL {} {
output = {
_args = ["eDP-1"];
scale = 2.0;
};
input = {
touchpad = {
tap = {};
};
};
layout = {
gaps = 0;
focus-ring.off = {};
shadow = {
on = {};
spread = 2;
offset._props = {x=2; y=2;};
};
};
spawn-at-startup = "waybar";
screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png";
binds = import ./binds.nix {inherit pkgs;};
gestures.hot-corners.off = {};
overview.zoom = 0.25;
};
target = ".config/niri/config.kdl";
};
}