Module

These are the available NixOS module options for nixos-cli. This is the preferred way to configure things like settings, and to add the CLI itself to the $PATH.

services.nixos-cli.enable

unified NixOS tooling replacement for nixos-* utilities

Type: boolean

Default: false

Example: true

services.nixos-cli.package

Package to use for nixos-cli

Type: types.package

Default: self.packages.${pkgs.system}.nixos

services.nixos-cli.config

Configuration for nixos-cli, in TOML format

Type: tomlFormat.type

Default: {}

services.nixos-cli.generationTag

A description for this generation

Type: types.nullOr types.str

Default: lib.maybeEnv "NIXOS_GENERATION_TAG" null

Example: "Sign Git GPG commits by default"

services.nixos-cli.prebuildOptionCache

Prebuild JSON cache for nixos option command

Type: types.bool

Default: config.documentation.nixos.enable


Generated with nix-options-doc