MyNixOS website logo
option

services.home-manager.autoExpire.store.cleanup

Whether to enable to cleanup Nix store when the Home Manager expire service runs.

It will use nix-collect-garbage to cleanup the store, removing all unreachable store objects from the current user (i.e.: not only the expired Home Manager generations).

This may not be what you want, this is why this option is disabled by default.

Declarations
Type
boolean
Default
false
Example
true