MyNixOS website logo

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.

These settings are stored in the world-readable Nix store. For access-tokens, use a command or a file entry to retrieve the token at runtime instead of putting a literal token in this option. Specify token file paths as strings, as in the example, so Nix does not copy the token file into the store.

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