helm/modules/desktop/bspwm.nix

37 lines
722 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
};
};
my.home.xdg.configFile = {
"sxhkd".source = <config/sxhkd>;
# link recursively so other modules can link files in their folders
"bspwm" = {
source = <config/bspwm>;
recursive = true;
2020-01-12 15:17:17 -08:00
};
2019-08-06 10:56:54 -07:00
};
}