dotfiles/modules/bspwm/default.nix
2021-09-09 21:55:28 +02:00

25 lines
437 B
Nix

{ config, lib, pkgs, ... }:
let
base = {
xdg = {
enable = true;
configFile = {
"bspwm/bspwmrc" = {
source = ./bspwmrc;
onChange = "bspc wm -r";
};
"sxhkd/sxhkdrc" = {
source = ./sxhkdrc;
onChange = "pkill -USR1 -x sxhkd";
};
};
};
home.packages = with pkgs; [
feh
];
};
in
{
home-manager.users.moritz = {...}: (base);
}