Disable auto-gc because off annoying ifd
This commit is contained in:
parent
7267560667
commit
7225b74ac2
3 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue