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 main = do
git "-C" "${configPath}" "pull" git "-C" "${configPath}" "pull"
update_home update_home
nix_collect_garbage "--delete-older-than" "${toString gcRetentionDays}d" --nix_collect_garbage "--delete-older-than" "${toString gcRetentionDays}d"
nix "optimise-store" nix "optimise-store"
''; '';
in { in {

View file

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

View file

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