From 83a3d6ff42ac7a5efe5671d81ee486b912ff279b Mon Sep 17 00:00:00 2001 From: eeva Date: Tue, 28 Feb 2017 23:37:06 +0100 Subject: [PATCH] Nicer nix-gc call and vim as default EDITOR --- configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configuration.nix b/configuration.nix index 121482a..895e520 100644 --- a/configuration.nix +++ b/configuration.nix @@ -19,6 +19,7 @@ }; environment = { + variables.EDITOR = pkgs.lib.mkOverride 900 "vim"; # vim is my default editor shells = [ pkgs.zsh ]; systemPackages = with pkgs; [ wget emacs @@ -219,6 +220,7 @@ # Rasvaton / Fet-fri nix.gc.automatic = true; + nix.gc.options = "--delete-older-than 1w"; nix.gc.dates = "02:22"; # Upgrade when possible