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