os/profiles/graphical/xmonad/default.nix

28 lines
515 B
Nix
Raw Normal View History

2020-06-09 10:36:38 -06:00
{ pkgs, ... }: {
2020-06-09 13:24:41 -06:00
environment.systemPackages = with pkgs; [
farbfeld
xss-lock
imgurbash2
maim
xclip
2020-06-12 18:49:08 -06:00
xorg.xdpyinfo
2020-06-09 13:24:41 -06:00
];
2020-06-09 10:36:38 -06:00
services.xserver.windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
config = import ./xmonad.hs.nix { inherit pkgs; };
};
services.picom = {
enable = true;
inactiveOpacity = "0.8";
settings = {
"unredir-if-possible" = true;
"focus-exclude" = "name = 'slock'";
};
};
2020-06-09 10:36:38 -06:00
programs.slock.enable = true;
}