2019-08-06 10:56:54 -07:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2019-11-26 14:04:14 -08:00
|
|
|
imports = [
|
|
|
|
./.
|
|
|
|
./rofi.nix
|
|
|
|
];
|
2019-08-06 10:56:54 -07:00
|
|
|
|
|
|
|
environment = {
|
|
|
|
systemPackages = with pkgs; [
|
2019-11-26 14:04:14 -08:00
|
|
|
xst # st + nice-to-have extensions
|
|
|
|
|
2019-08-06 10:56:54 -07:00
|
|
|
lightdm
|
|
|
|
bspwm
|
|
|
|
dunst
|
|
|
|
libnotify
|
|
|
|
|
|
|
|
(polybar.override {
|
|
|
|
pulseSupport = true;
|
|
|
|
nlSupport = true;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
fonts.fonts = [ pkgs.siji ];
|
|
|
|
|
2019-11-26 14:04:14 -08:00
|
|
|
programs.zsh.interactiveShellInit = "export TERM=xterm-256color";
|
|
|
|
|
2019-08-06 10:56:54 -07:00
|
|
|
services = {
|
|
|
|
xserver = {
|
|
|
|
desktopManager.xterm.enable = false;
|
|
|
|
displayManager.lightdm.enable = true;
|
|
|
|
windowManager.bspwm.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
compton = {
|
|
|
|
enable = true;
|
|
|
|
backend = "glx";
|
2019-10-17 16:57:00 -07:00
|
|
|
vSync = true;
|
2019-08-06 10:56:54 -07:00
|
|
|
inactiveOpacity = "0.90";
|
2019-11-17 20:26:00 -08:00
|
|
|
opacityRules = ["100:class_g = 'Firefox'"];
|
2019-08-06 10:56:54 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
home-manager.users.hlissner.xdg.configFile = {
|
|
|
|
"sxhkd".source = <config/sxhkd>;
|
|
|
|
|
2019-11-26 14:04:14 -08:00
|
|
|
# link recursively so other modules can link files in their folders
|
2019-08-06 10:56:54 -07:00
|
|
|
"bspwm" = { source = <config/bspwm>; recursive = true; };
|
|
|
|
};
|
|
|
|
}
|