Added lots of things done in a hurry following the dodecagon failure. Signed-off-by: Jeltz <jeltz@federez.net>
33 lines
608 B
Nix
33 lines
608 B
Nix
{ ... }:
|
|
{
|
|
virtualisation.incus = {
|
|
enable = true;
|
|
ui.enable = true;
|
|
|
|
preseed = {
|
|
config = {
|
|
"core.https_address" = "127.0.0.1:9999";
|
|
};
|
|
profiles = [
|
|
{
|
|
name = "default";
|
|
devices = {
|
|
eth0 = {
|
|
name = "eth0";
|
|
nictype = "bridged";
|
|
parent = "wan";
|
|
type = "nic";
|
|
};
|
|
};
|
|
}
|
|
];
|
|
storage_pools = [
|
|
{
|
|
name = "default";
|
|
driver = "zfs";
|
|
config = { source = "data/incus"; };
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|