2021-10-10 06:59:41 -07:00
|
|
|
{ config, pkgs, ...}:
|
|
|
|
|
|
|
|
{
|
|
|
|
#imports = [ ./music.nix ]
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
lightdm
|
|
|
|
dunst
|
|
|
|
libnotify
|
|
|
|
(polybar.override {
|
|
|
|
pulseSupport = true;
|
|
|
|
nlSupport = true;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
services = {
|
|
|
|
picom.enable = true;
|
|
|
|
#redshift.enable = true;
|
|
|
|
xserver = {
|
|
|
|
enable = true;
|
|
|
|
displayManager = {
|
|
|
|
defaultSession = "none+bspwm";
|
|
|
|
lightdm.enable = true;
|
2021-10-10 08:22:31 -07:00
|
|
|
#lightdm.greeters.mini.enable = true;
|
|
|
|
#lightdm.greeters.mini.user = "anish"; # TODO hardcoded
|
2021-10-10 06:59:41 -07:00
|
|
|
};
|
|
|
|
windowManager.bspwm.enable = true;
|
2021-10-10 08:43:18 -07:00
|
|
|
windowManager.bspwm.configFile = "/home/anish/.bspwm/bspwmrc";
|
|
|
|
windowManager.bspwm.sxhkd.configFile = "/home/anish/sxhkdrc";
|
2021-10-10 08:22:31 -07:00
|
|
|
#windowManager.default = "bspwm";
|
2021-10-10 06:59:41 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-10-10 08:22:31 -07:00
|
|
|
#systemd.user.services."dunst" = {
|
|
|
|
# enable = true;
|
|
|
|
# description = "";
|
|
|
|
# wantedBy = [ "default.target" ];
|
|
|
|
# serviceConfig.Restart = "always";
|
|
|
|
# serviceConfig.RestartSec = 2;
|
|
|
|
# serviceConfig.ExecStart = "${pkgs.dunst}/bin/dunst";
|
|
|
|
#};
|
2021-10-10 06:59:41 -07:00
|
|
|
services.xserver.displayManager.lightdm.greeters.mini.extraConfig = ''
|
|
|
|
text-color = "#ff79c6"
|
|
|
|
password-background-color = "#1E2029"
|
|
|
|
window-color = "#181a23"
|
|
|
|
border-color = "#181a23"
|
|
|
|
'';
|
|
|
|
}
|