system/users/modules/window_manager/xmonad.nix
2022-10-12 01:41:32 +03:00

28 lines
573 B
Nix

{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [
xclip # access x clipboard from a console
dmenu # menu for x window system
flameshot # powerful yet simple to use screenshot software
nitrogen # wallpaper manager
];
xsession = {
enable = true;
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
config = ./xmonad_config.hs;
extraPackages = (hp: [
hp.dbus
hp.monad-logger
]);
};
initExtra = ''
${pkgs.nitrogen}/bin/nitrogen --restore &
'';
};
}