]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/xmonad.nix
xserver: improve keyboard layout
[julm/julm-nix.git] / home-manager / profiles / xmonad.nix
1 { pkgs, 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 inherit (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.gtk3
32 pkgs.mate.caja-with-extensions
33 #(pkgs.writeShellScriptBin "mate-terminal" ''exec ${pkgs.rxvt-unicode}/bin/urxvtc -hold "$@"'')
34 pkgs.scrot
35 pkgs.stalonetray
36 pkgs.wmname
37 pkgs.xmobar
38 pkgs.xorg.appres
39 pkgs.xorg.xev
40 pkgs.xorg.xhost
41 pkgs.xorg.xmodmap
42 pkgs.xorg.xset
43 ];
44 xresources.properties = {
45 "Xft.antialias" = true;
46 "Xft.hinting" = true;
47 "Xft.hintstyle" = "hintfull";
48 "Xft.rgba" = "rgb";
49 #"Xft.embolden" = true;
50 };
51 }