Enable default garbage collection on modules/nixos/xinux #15
Labels
No labels
bug
duplicate
enhancement
fix
good first issue
help wanted
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
xinux/modules#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For example like this:
Enable default garbage collectionto Enable default garbage collection on modules/nixos/xinux30 to 60 days seems good to me, I'd even say 60 straight. Less than 30 defeats the purpose of being "atomic" as we promise reproducibility and more than 30 days is enough for user to trigger a rebuild at least "once".
The thing that I'm afraid of is that, once you trigger a clean-up, you have to trigger a rebuild to create first generation, so machine is bootable, if not, grub ain't gonna boot to anything hence making machine unusable...
The best case scenario would be if we offer our users a manual clean-up button in our new Settings app which would do the clean-up and afterwards run a nixos-rebuild creating first generation to keep machine bootable.
@orzklv wrote in #15 (comment):
sounds good
Then, I think we shall move this issue to the settings repository.