diff --git a/options.xhtml b/options.xhtml index 465fe0d9..9f7b3ecb 100644 --- a/options.xhtml +++ b/options.xhtml @@ -10762,6 +10762,86 @@ strings concatenated with “\n”

+
+ + nix.gc.automatic + + +
+
+

Automatically run the garbage collector at a specific time.

Note: This will only garbage collect the current user’s profiles.

+ +

Type: +boolean

+ +

Default: +false

+ +

Declared by:

+ + +
+ +<home-manager/modules/services/nix-gc.nix> + +
+
+
+ + nix.gc.frequency + + +
+
+

The frequency at which to run the garbage collector.

These enums are based on special expressions from the +systemd.time(7)

+ +

Type: +one of “hourly”, “weekly”, “monthly”, “semiannually”, “annually”

+ +

Default: +"weekly"

+ +

Example: +"monthly"

+ +

Declared by:

+ + +
+ +<home-manager/modules/services/nix-gc.nix> + +
+
+
+ + nix.gc.options + + +
+
+

Options given to nix-collect-garbage when the +garbage collector is run automatically.

+ +

Type: +null or string

+ +

Default: +null

+ +

Example: +"--max-freed $((64 * 1024**3))"

+ +

Declared by:

+ + +
+ +<home-manager/modules/services/nix-gc.nix> + +
+
nix.registry