]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/xmonad.nix
nixos-fallback: use a transient service
[julm/julm-nix.git] / home-manager / profiles / xmonad.nix
1 { pkgs, lib, config, ... }:
2 {
3 home.file.".xmonad/xmobar.hs".source = xmonad/xmobar.hs;
4 xsession = {
5 enable = true;
6 scriptPath = ".hm-xsession";
7 initExtra = ''
8 xset dpms 380 640 1200
9 ${pkgs.xorg.xsetroot}/bin/xsetroot -solid black -fg black -bg white -cursor_name left_ptr
10 ${pkgs.rxvt-unicode}/bin/urxvtd -f -o
11 ${pkgs.copyq}/bin/copyq &
12 ${pkgs.pasystray}/bin/pasystray &
13 '';
14 windowManager.xmonad = {
15 enable = true;
16 haskellPackages = pkgs.haskellPackages;
17 extraPackages = haskellPackages: [
18 haskellPackages.data-default
19 ];
20 enableContribAndExtras = true;
21 config = xmonad/xmonad.hs;
22 };
23 };
24 home.packages = [
25 pkgs.acpilight
26 pkgs.copyq
27 pkgs.ffmpegthumbnailer
28 pkgs.gmrun
29 pkgs.light
30 pkgs.gnome.nautilus
31 #pkgs.mate.caja-with-extensions
32 #(pkgs.writeShellScriptBin "mate-terminal" ''exec ${pkgs.rxvt-unicode}/bin/urxvtc -hold "$@"'')
33 pkgs.scrot
34 pkgs.stalonetray
35 pkgs.wmname
36 pkgs.xmobar
37 pkgs.xorg.appres
38 pkgs.xorg.xev
39 pkgs.xorg.xhost
40 pkgs.xorg.xmodmap
41 pkgs.xorg.xset
42 ];
43 xresources.properties = {
44 "Xft.antialias" = true;
45 "Xft.hinting" = true;
46 "Xft.hintstyle" = "hintfull";
47 "Xft.rgba" = "rgb";
48 #"Xft.embolden" = true;
49 };
50 }