]> Git — Sourcephile - julm/julm-nix.git/blob - homes/softwares/xmonad.nix
home-manager: fix standalone use
[julm/julm-nix.git] / homes / softwares / xmonad.nix
1 { pkgs, lib, config, ... }:
2 {
3 config = lib.mkIf config.xsession.windowManager.xmonad.enable {
4 home.file = {
5 ".xmonad/xmobar.hs".source = xmonad/xmobar.hs;
6 };
7 xsession = {
8 scriptPath = ".hm-xsession";
9 initExtra = ''
10 xset dpms 380 640 1200
11 ${pkgs.xorg.xsetroot}/bin/xsetroot -solid black -fg black -bg white -cursor_name left_ptr
12 ${pkgs.rxvt-unicode}/bin/urxvtd -f -o
13 ${pkgs.parcellite}/bin/parcellite &
14 ${pkgs.pasystray}/bin/pasystray &
15 '';
16 windowManager.xmonad = {
17 haskellPackages = pkgs.haskellPackages;
18 #extraPackages = haskellPackages: [ ];
19 enableContribAndExtras = true;
20 config = xmonad/xmonad.hs;
21 };
22 };
23 home.packages = [
24 pkgs.acpilight
25 pkgs.gmrun
26 pkgs.light
27 pkgs.mate.caja
28 pkgs.rxvt-unicode
29 pkgs.stalonetray
30 pkgs.wmname
31 #pkgs.xautolock
32 #pkgs.xlockmore
33 pkgs.xmobar
34 pkgs.xorg.xev
35 pkgs.xorg.xhost
36 pkgs.xorg.xmodmap
37 pkgs.xorg.xset
38 pkgs.xsecurelock
39 pkgs.xss-lock
40 ];
41 };
42 }