36 lines
575 B
Nix
36 lines
575 B
Nix
|
{
|
||
|
network = {
|
||
|
name = "lxdBrDefault";
|
||
|
type = "bridge";
|
||
|
|
||
|
config = {
|
||
|
"ipv4.address" = "10.100.1.1/8";
|
||
|
"ipv4.nat" = "true";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
storage_pool = {
|
||
|
name = "test";
|
||
|
driver = "zfs";
|
||
|
config.source = "zspeed/test";
|
||
|
};
|
||
|
|
||
|
profile = {
|
||
|
name = "default";
|
||
|
devices = {
|
||
|
"eth0" = {
|
||
|
name = "eth0";
|
||
|
nictype = "bridged";
|
||
|
parent = "lxdBrDefault";
|
||
|
type = "nic";
|
||
|
};
|
||
|
"root" = {
|
||
|
path = "/";
|
||
|
pool = "default";
|
||
|
size = "8GiB";
|
||
|
type = "disk";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|