1
0
Fork 0

Disable auto-gc because off annoying ifd

This commit is contained in:
Malte Brandy 2019-10-27 20:34:01 +01:00
parent 7267560667
commit 7225b74ac2
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ let
main = do
git "-C" "${configPath}" "pull"
update_home
nix_collect_garbage "--delete-older-than" "${toString gcRetentionDays}d"
--nix_collect_garbage "--delete-older-than" "${toString gcRetentionDays}d"
nix "optimise-store"
'';
in {

View file

@ -100,7 +100,7 @@ in rec {
git -C ~/git/nixos/config pull
update-home
sudo -A update-system
sudo -A nix-collect-garbage --delete-older-than ${
#sudo -A nix-collect-garbage --delete-older-than ${
toString gcRetentionDays
}d
sudo -A nix optimise-store

View file

@ -3,7 +3,7 @@
imports = [ ./init_ssh.nix ];
nix = {
gc.automatic = true;
#gc.automatic = true;
optimise.automatic = true;
};