niri config !!

This commit is contained in:
Noa Aarts 2024-11-18 23:56:16 +01:00
parent f18a640c7c
commit 77d730d177
Signed by: noa
GPG key ID: 1850932741EFF672
2 changed files with 47 additions and 160 deletions

View file

@ -93,9 +93,21 @@
}
];
extraConfig = {
xdg.configFile = {
"niri/config.kdl".source = ../../extra/niri.kdl;
};
xdg.configFile =
let
wpkgs = inputs.self.packages.${pkgs.system};
in
{
"niri/config.kdl".source = pkgs.substituteAll {
src = ../../extra/niri.kdl;
env = {
kitty = "${pkgs.kitty}/bin/kitty";
wofilaunch = "${wpkgs.wofi-launch}/bin/wofi-launch";
wofipower = "${wpkgs.wofi-power}/bin/wofi-power";
swaylock = "${pkgs.swaylock}/bin/swaylock";
};
};
};
};
};
"root" = import ./root.nix;