]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/xmonad.nix
julm: oignon: element-desktop: install
[julm/julm-nix.git] / home-manager / profiles / xmonad.nix
1 { pkgs, config, ... }:
2 {
3 imports = [
4 ./clipster.nix
5 ./screen-locker.nix
6 ./urxvt.nix
7 ];
8 xdg.configFile."xmonad/xmobar0.hs".source = xmonad/xmobar0.hs;
9 xsession = {
10 enable = true;
11 scriptPath = ".hm-xsession";
12 initExtra = ''
13 xset dpms 380 640 1200
14 ${pkgs.xorg.xsetroot}/bin/xsetroot -solid black -fg black -bg white -cursor_name left_ptr
15 ${pkgs.pasystray}/bin/pasystray &
16 '';
17 windowManager.xmonad = {
18 enable = true;
19 inherit (pkgs) haskellPackages;
20 extraPackages = haskellPackages: [
21 haskellPackages.data-default
22 ];
23 enableContribAndExtras = true;
24 # Develop with:
25 # nix shell --impure --expr 'with import <nixpkgs> {}; haskellPackages.ghcWithPackages (hs: with hs; [ xmonad-contrib data-default ])'
26 # ln -fns $PWD/home-manager/profiles/xmonad/xmonad.hs ~/.xmonad/xmonad.hs
27 # ~/.xmonad/xmonad-x86_64-linux --recompile
28 config = xmonad/xmonad.hs;
29 };
30 };
31 home.packages = [
32 pkgs.acpilight
33 pkgs.autorandr
34 pkgs.ffmpegthumbnailer
35 pkgs.gmrun
36 pkgs.light
37 #pkgs.gnome.nautilus
38 #pkgs.gtk3
39 pkgs.mate.caja-with-extensions
40 #(pkgs.writeShellScriptBin "mate-terminal" ''exec ${pkgs.rxvt-unicode}/bin/urxvtc -hold "$@"'')
41 pkgs.rofi
42 pkgs.scrot
43 pkgs.trayer
44 #pkgs.stalonetray
45 pkgs.wmname
46 pkgs.xmobar
47 pkgs.xorg.appres
48 pkgs.xorg.xev
49 pkgs.xorg.xhost
50 pkgs.xorg.xmodmap
51 pkgs.xorg.xset
52 #pkgs.xdotool
53 ];
54 xresources.properties = {
55 "Xft.antialias" = true;
56 "Xft.hinting" = true;
57 "Xft.hintstyle" = "hintfull";
58 "Xft.rgba" = "rgb";
59 #"Xft.embolden" = true;
60 };
61 }