Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test-Grid: Auto remove old software #16

Open
hacklschorsch opened this issue Jan 17, 2025 · 0 comments · May be fixed by #23
Open

Test-Grid: Auto remove old software #16

hacklschorsch opened this issue Jan 17, 2025 · 0 comments · May be fixed by #23
Assignees

Comments

@hacklschorsch
Copy link
Member

The VM running the testgrid already automatically updates (within the configured channel):

system.autoUpgrade = {
enable = true;
# Reboot the system into the new generation instead of a switch if the new
# generation uses a different kernel, kernel modules or initrd than the
# booted system.
allowReboot = true;
};

It should also automatically get rid of old system software:
https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/services/misc/nix-gc.nix

hacklschorsch added a commit that referenced this issue Jan 23, 2025
@hacklschorsch hacklschorsch linked a pull request Jan 23, 2025 that will close this issue
@hacklschorsch hacklschorsch self-assigned this Jan 27, 2025
btlogy added a commit that referenced this issue Jan 29, 2025
Co-authored-by: Florian Sesser <florian@leastauthority.com>
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant