nixos/hosts/common/optional/lxd/profiles/default.nix

36 lines
582 B
Nix
Raw Normal View History

2024-06-29 14:40:10 +01:00
{
network = {
name = "lxdBrDefault";
type = "bridge";
config = {
"ipv4.address" = "10.100.1.1/8";
"ipv4.nat" = "true";
};
};
storage_pool = {
2024-06-29 16:21:28 +01:00
name = "postgres";
driver = "disk";
config.source = "/mnt/postgres";
2024-06-29 14:40:10 +01:00
};
profile = {
name = "default";
devices = {
"eth0" = {
name = "eth0";
nictype = "bridged";
parent = "lxdBrDefault";
type = "nic";
};
"root" = {
path = "/";
pool = "default";
size = "8GiB";
type = "disk";
};
};
};
}