How to configure programs.nh.clean? Do I still use nix.gc?
#640
-
|
The readme doesn't say much about |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
The clean service added by NH has its own Systemd service and timer invoking |
Beta Was this translation helpful? Give feedback.
nh clean allis a superset ofnix store --gcso its generally not recommended that you enable both. iirc the NH module in Nixpkgs will actually throw when you have both, though as long as you make sure they don't fire and lock rhe store simultaneouslt it is not destructive. It is also worth noting thatnh cleanaims to replace the gc operations, which is to say you shouldn't need to enablenix.gcwhile NH's clean service is enabled.The clean service added by NH has its own Systemd service and timer invoking
nh clean all, and does not follow any timers or argumenrs added bynix.gc.