programs.nix-oci-lock.enable
Whether to enable nix-oci-lock.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.nix-oci-lock.package
The nix-oci-lock package to use.
Type: package
Default:
pkgs.nix-oci-lock
Declared by:
programs.nix-oci-lock.hostName
The hostname to use from the lockfile
Type: string
Default:
"nixos"
Example:
"foo-server"
Declared by:
programs.nix-oci-lock.lockFile
Path to the lockfile nix-oci-lock should override your system config with
Type: absolute path
Example:
"./oci-lock.json"
Declared by:
programs.nix-oci-lock.lockedContainers
Additional container locks to import, must be of the same format as the lock file
Type: attribute set of (submodule)
Default:
{ }
Example:
{
bar = {
containers = {
postgres = {
locked = "docker.io/library/postgres:latest@sha256:8ff36f3c66371cba71d20ceedccfc3de9669a68737607888c4ef0af93abe8e39";
original = "postgres:latest";
};
};
};
foo = {
containers = {
valkey = {
locked = "docker.io/valkey/valkey:latest@sha256:4963247afc4cd33c7d3b2d2816b9f7f8eeebab148d29056c2ca4d7cbc966f2d9";
original = "valkey:valkey/latest";
};
};
};
}
Declared by:
programs.nix-oci-lock.lockedContainers.<name>.containers
Locked containers for this host
Type: attribute set of (submodule)
Declared by:
programs.nix-oci-lock.lockedContainers.<name>.containers.<name>.locked
The full locked container reference
Type: string
Example:
"docker.io/valkey/valkey:latest@sha256:4963247afc4cd33c7d3b2d2816b9f7f8eeebab148d29056c2ca4d7cbc966f2d9"
Declared by:
programs.nix-oci-lock.lockedContainers.<name>.containers.<name>.original
The original container image, will be used for checks in the future.
Type: string
Example:
"valkey:valkey/latest"
Declared by: