27 lines
394 B
Nix
27 lines
394 B
Nix
|
{ ... }:
|
||
|
|
||
|
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
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|