forked from pub-solar/os
1efc3eab51
needed for reliable focus exclusion from picom, so that screen contents aren't leaked while locked.
29 lines
525 B
Nix
29 lines
525 B
Nix
{ pkgs, ... }: {
|
|
environment.systemPackages = with pkgs; [
|
|
farbfeld
|
|
xss-lock
|
|
imgurbash2
|
|
dzvol
|
|
maim
|
|
xclip
|
|
xorg.xdpyinfo
|
|
];
|
|
|
|
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'";
|
|
};
|
|
};
|
|
|
|
programs.slock.enable = true;
|
|
}
|