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

25 lines
370 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_pools;
};
};
};
}