31 lines
491 B
Nix
31 lines
491 B
Nix
{ ... }:
|
|
|
|
let
|
|
lxd_profiles = {
|
|
"default" = (import ./profiles/default.nix);
|
|
};
|
|
in
|
|
{
|
|
virtualisation = {
|
|
incus = {
|
|
preseed = {
|
|
|
|
config = {
|
|
"core.https_address" = ":8443";
|
|
"images.auto_update_interval" = 9;
|
|
};
|
|
|
|
networks = [
|
|
lxd_profiles.default.network
|
|
];
|
|
|
|
profiles = [
|
|
lxd_profiles.default.profile
|
|
];
|
|
|
|
storage_pools = lxd_profiles.default.storage_pools;
|
|
};
|
|
};
|
|
};
|
|
}
|