helm/modules/desktop/bspwm.nix

40 lines
781 B
Nix
Raw Normal View History

2019-08-06 10:56:54 -07:00
{ config, lib, pkgs, ... }:
{
imports = [
./. # common settings
];
2019-08-06 10:56:54 -07:00
2020-01-12 15:17:17 -08:00
environment.systemPackages = with pkgs; [
lightdm
dunst
libnotify
(polybar.override {
pulseSupport = true;
nlSupport = true;
})
];
2019-08-06 10:56:54 -07:00
services = {
compton.enable = true;
2019-08-06 10:56:54 -07:00
xserver = {
windowManager.default = "bspwm";
2019-08-06 10:56:54 -07:00
windowManager.bspwm.enable = true;
displayManager.lightdm.enable = true;
displayManager.lightdm.greeters.mini.enable = true;
2019-08-06 10:56:54 -07:00
};
};
2020-01-12 15:17:17 -08:00
my = {
env.PATH = [ <bin/bspwm> ];
2020-01-12 15:17:17 -08:00
home.xdg.configFile = {
2020-01-17 01:22:50 -08:00
"sxhkd".source = <config/sxhkd>;
2020-01-12 15:17:17 -08:00
# link recursively so other modules can link files in their folders
2020-01-14 05:25:40 -08:00
"bspwm" = {
2020-01-17 01:22:50 -08:00
source = <config/bspwm>;
2020-01-14 05:25:40 -08:00
recursive = true;
};
2020-01-12 15:17:17 -08:00
};
2019-08-06 10:56:54 -07:00
};
}