services.guix.stateDir

The state directory where Guix service will store its data such as its user-specific profiles, cache, and state files.

Changing it to something other than the default will rebuild the package.

Type
absolute path
Default
"/var"
Example
"/gnu/var"
Declared
<nixpkgs/nixos/modules/services/misc/guix>