virtualisation.incus.preseed
Configuration for Incus preseed, see https://linuxcontainers.org/incus/docs/main/howto/initialize/#non-interactive-configuration for supported values.
Changes to this will be re-applied to Incus which will overwrite existing entities or create missing ones, but entities will not be removed by preseed.
- Type
null or (open submodule of (YAML 1.1 value))- Default
null- Example
{ networks = [ { config = { "ipv4.address" = "10.0.100.1/24"; "ipv4.nat" = "true"; }; name = "incusbr0"; type = "bridge"; } ]; profiles = [ { devices = { eth0 = { name = "eth0"; network = "incusbr0"; type = "nic"; }; root = { path = "/"; pool = "default"; size = "35GiB"; type = "disk"; }; }; name = "default"; } ]; storage_pools = [ { config = { source = "/var/lib/incus/storage-pools/default"; }; driver = "dir"; name = "default"; } ]; }- Declared
- <nixpkgs/nixos/modules/virtualisation/incus.nix>