nixos/hosts/common/optional/lxd/lxd-preseed.nix

25 lines
370 B
Nix
Raw Normal View History

2024-06-29 14:40:10 +01:00
{ ... }:
let
lxd_profiles = {
"default" = (import ./profiles/default.nix);
};
in
{
virtualisation = {
lxd = {
2024-06-29 22:18:42 +01:00
preseed = {
2024-06-29 14:40:10 +01:00
networks = [
lxd_profiles.default.network
];
profiles = [
lxd_profiles.default.profile
];
2024-06-29 22:18:42 +01:00
storage_pools = lxd_profiles.default.storage_pools;
2024-06-29 14:40:10 +01:00
};
};
};
}