Joseph Hanson
5f40891320
Some checks failed
Build / nix-build (native-aarch64, varda) (pull_request) Successful in 2m17s
Build / nix-build (native-x86_64, gandalf) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, telchar) (pull_request) Has been cancelled
Build / nix-build (native-x86_64, telperion) (pull_request) Has been cancelled
Build / Nix Build Successful (pull_request) Has been cancelled
moving configuration to module option to allow for multiple hosts to use the same module.
49 lines
906 B
Nix
49 lines
906 B
Nix
{ ... }:
|
|
{
|
|
config = {
|
|
"core.https_address" = "10.1.1.15:8445"; # Need quotes around key
|
|
};
|
|
networks = [
|
|
{
|
|
config = {
|
|
"ipv4.address" = "auto"; # Need quotes around key
|
|
"ipv6.address" = "auto"; # Need quotes around key
|
|
};
|
|
description = "";
|
|
name = "incusbr0";
|
|
type = "";
|
|
project = "default";
|
|
}
|
|
];
|
|
storage_pools = [
|
|
{
|
|
config = {
|
|
source = "eru/incus";
|
|
};
|
|
description = "";
|
|
name = "default";
|
|
driver = "zfs";
|
|
}
|
|
];
|
|
profiles = [
|
|
{
|
|
config = { };
|
|
description = "";
|
|
devices = {
|
|
eth0 = {
|
|
name = "eth0";
|
|
network = "incusbr0";
|
|
type = "nic";
|
|
};
|
|
root = {
|
|
path = "/";
|
|
pool = "default";
|
|
type = "disk";
|
|
};
|
|
};
|
|
name = "default";
|
|
}
|
|
];
|
|
projects = [ ];
|
|
cluster = null;
|
|
}
|