44 lines
1 KiB
Nix
44 lines
1 KiB
Nix
|
{ 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;
|
||
|
lightdm.greeters.mini.enable = true;
|
||
|
};
|
||
|
windowManager.bspwm.enable = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
systemd.user.services."dunst" = {
|
||
|
enable = true;
|
||
|
description = "";
|
||
|
wantedBy = [ "default.target" ];
|
||
|
serviceConfig.Restart = "always";
|
||
|
serviceConfig.RestartSec = 2;
|
||
|
serviceConfig.ExecStart = "${pkgs.dunst}/bin/dunst";
|
||
|
};
|
||
|
services.xserver.displayManager.lightdm.greeters.mini.extraConfig = ''
|
||
|
text-color = "#ff79c6"
|
||
|
password-background-color = "#1E2029"
|
||
|
window-color = "#181a23"
|
||
|
border-color = "#181a23"
|
||
|
'';
|
||
|
}
|