Delegated session start to home-manager, shuffled programes around

This commit is contained in:
Martin Potier 2017-07-21 10:54:55 +02:00
parent e3064c94a0
commit a2dead079c

View file

@ -24,30 +24,35 @@
fonts.extraFonts = with pkgs; [ fonts.extraFonts = with pkgs; [
libertine libertine
tewi-font
iosevka
inconsolata inconsolata
dejavu_fonts
]; ];
environment = { environment = {
variables.EDITOR = pkgs.lib.mkOverride 10 "vim"; # vim is my default editor variables.EDITOR = pkgs.lib.mkOverride 10 "vim"; # vim is my default editor
shells = [ pkgs.zsh ]; shells = [ pkgs.zsh ];
# Rule of thumb: only X utilities and pure system programs
systemPackages = with pkgs; [ systemPackages = with pkgs; [
(import ./vim.nix) (import ./vim.nix)
(pkgs.lib.mkOverride 10 st) # patched, see at the end of this file
arandr arandr
autorandr
chromium chromium
crda # WiFi regulatory domains crda # WiFi regulatory domains
dmenu
feh
gimp gimp
lemonbar
git
(pkgs.lib.mkOverride 10 st) # patched, see at the end of this file
gnumeric gnumeric
i3lock-fancy
inkscape
lemonbar-xft
mpv mpv
nethogs
optipng optipng
pavucontrol pavucontrol
qutebrowser qutebrowser
stow xclip
unzip
wget
zathura zathura
]; ];
}; };
@ -248,8 +253,6 @@
sessionCommands = '' sessionCommands = ''
xset r rate 200 75 xset r rate 200 75
xrandr --output eDP1 --mode 1920x1080 xrandr --output eDP1 --mode 1920x1080
sh /home/eeva/.fehbg
mkdir -p /tmp/monitors
''; '';
slim.theme = pkgs.fetchurl { slim.theme = pkgs.fetchurl {
url = http://marvid.fr/~eeva/mirror/slim-theme-solarized-debian.tar.bz2; url = http://marvid.fr/~eeva/mirror/slim-theme-solarized-debian.tar.bz2;
@ -270,10 +273,10 @@
videoDrivers = [ "intel" "modesetting" ]; videoDrivers = [ "intel" "modesetting" ];
#videoDrivers = [ "amdgpu" "intel" "modsetting" ]; # I wish #videoDrivers = [ "amdgpu" "intel" "modsetting" ]; # I wish
windowManager.xmonad = { #windowManager.xmonad = {
enable = true; # enable = true;
enableContribAndExtras = true; # enableContribAndExtras = true;
}; #};
desktopManager.xterm.enable = false; desktopManager.xterm.enable = false;
}; };
}; };