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