]> Git — Sourcephile - julm/julm-nix.git/blob - homes/programs/xmonad.nix
nix: put public keys in private/shared
[julm/julm-nix.git] / homes / programs / 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.copyq}/bin/copyq &
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.copyq
26 pkgs.gmrun
27 pkgs.light
28 pkgs.mate.caja
29 pkgs.rxvt-unicode
30 pkgs.scrot
31 pkgs.stalonetray
32 pkgs.wmname
33 pkgs.xmobar
34 pkgs.xorg.appres
35 pkgs.xorg.xev
36 pkgs.xorg.xhost
37 pkgs.xorg.xmodmap
38 pkgs.xorg.xset
39 ];
40 xresources.properties = {
41 "Xft.antialias" = true;
42 "Xft.hinting" = true;
43 "Xft.hintstyle" = "hintfull";
44 "Xft.rgba" = "rgb";
45 #"Xft.embolden" = true;
46 };
47 };
48 }