|
{ ... }:
|
|
|
|
let
|
|
lxd_profiles = {
|
|
"default" = (import ./profiles/default.nix);
|
|
};
|
|
in
|
|
{
|
|
virtualisation = {
|
|
lxd = {
|
|
preseed = {
|
|
networks = [
|
|
lxd_profiles.default.network
|
|
];
|
|
|
|
profiles = [
|
|
lxd_profiles.default.profile
|
|
];
|
|
|
|
storage_pools = [
|
|
lxd_profiles.default.storage_pool
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|