helm/modules/desktop/bspwm.nix

55 lines
1 KiB
Nix
Raw Normal View History

2019-08-06 10:56:54 -07:00
{ config, lib, pkgs, ... }:
{
imports = [
2019-12-12 00:10:31 -08:00
# My launcher
2020-01-17 01:22:50 -08:00
./apps/rofi.nix
2019-12-12 00:10:31 -08:00
# I often need a thumbnail browser to show off, peruse or organize photos,
# design work, or digital art.
2020-01-17 01:22:50 -08:00
./apps/thunar.nix
./apps/redshift.nix
];
2019-08-06 10:56:54 -07:00
2020-01-12 15:17:17 -08:00
environment.systemPackages = with pkgs; [
lightdm
bspwm
dunst
libnotify
(polybar.override {
pulseSupport = true;
nlSupport = true;
})
];
2019-08-06 10:56:54 -07:00
services = {
xserver = {
2020-01-17 01:22:50 -08:00
enable = true;
2019-08-06 10:56:54 -07:00
desktopManager.xterm.enable = false;
windowManager.bspwm.enable = true;
displayManager.lightdm = {
enable = true;
greeters.mini = {
enable = true;
2020-01-12 15:17:17 -08:00
user = config.my.username;
};
};
2019-08-06 10:56:54 -07:00
};
2020-01-17 01:22:50 -08:00
compton.enable = true;
2019-08-06 10:56:54 -07:00
};
2020-01-12 15:17:17 -08:00
# For polybar
my = {
2020-01-17 01:22:50 -08:00
env.PATH = [ <config/bspwm/bin> ];
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
};
}