Revert "Store less generations"
This reverts commit eabfb55de4
.
The issues doesn't seem to be the number of generations,
but that nixos itself keeps all channels as gc roots.
This prevents proper cleanup of old channel data.
This commit is contained in:
parent
eabfb55de4
commit
fac58895ab
|
@ -12,7 +12,7 @@ writeShellApplication {
|
|||
nvd diff "$oldVersion" "$newVersion"
|
||||
|
||||
home-manager expire-generations '-12 days'
|
||||
nix-env --delete-generations +2
|
||||
nix-env --delete-generations +3
|
||||
nix store gc
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue