Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.nix-init.enable

Whether to enable nix-init.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.nix-init.package

The nix-init package to use.

Type: null or package

Default:

pkgs.nix-init

Declared by:

programs.nix-init.settings

Configuration written to $XDG_CONFIG_HOME/nix-init/config.toml. See https://github.com/nix-community/nix-init#configuration for the full list of options.

Type: TOML value

Default:

{ }

Example:

{
  maintainers = [
    "figsoda"
  ];
  nixpkgs = "<nixpkgs>";
  commit = true;
  access-tokens = {
    "github.com" = "ghp_blahblahblah...";
    "gitlab.com" = {
      command = [
        "secret-tool"
        "or"
        "whatever"
        "you"
        "use"
      ];
    };
    "gitlab.gnome.org" = {
      file = "/path/to/api/token";
    };
  };
}

Declared by: