Nh
programs.nh.clean.dates
How often cleanup is performed. Passed to systemd.time
The format is described in
{manpage}systemd.time(7)
.
Type: (optionally newline-terminated) single-line string
Default
"weekly"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/nh.nix
programs.nh.clean.enable
Whether to enable periodic garbage collection with nh clean all.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/nh.nix
programs.nh.clean.extraArgs
Options given to nh clean when the service is run automatically.
See nh clean all --help
for more information.
Type: (optionally newline-terminated) single-line string
Default
""
Example
"--keep 5 --keep-since 3d"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/nh.nix
programs.nh.enable
Whether to enable nh, yet another Nix CLI helper.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/nh.nix
programs.nh.flake
The path that will be used for the FLAKE
environment variable.
FLAKE
is used by nh as the default flake for performing actions, like nh os switch
.
Type: null or path
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/nh.nix
programs.nh.package
The nh package to use.
Type: package
Default
pkgs.nh
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/nh.nix