Nicer nix-gc call and vim as default EDITOR

This commit is contained in:
eeva 2017-02-28 23:37:06 +01:00
parent d8ea69fbf1
commit 83a3d6ff42

View file

@ -19,6 +19,7 @@
}; };
environment = { environment = {
variables.EDITOR = pkgs.lib.mkOverride 900 "vim"; # vim is my default editor
shells = [ pkgs.zsh ]; shells = [ pkgs.zsh ];
systemPackages = with pkgs; [ systemPackages = with pkgs; [
wget emacs wget emacs
@ -219,6 +220,7 @@
# Rasvaton / Fet-fri # Rasvaton / Fet-fri
nix.gc.automatic = true; nix.gc.automatic = true;
nix.gc.options = "--delete-older-than 1w";
nix.gc.dates = "02:22"; nix.gc.dates = "02:22";
# Upgrade when possible # Upgrade when possible