1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: allow microvms to override configPath

This commit is contained in:
oddlama 2023-05-23 01:09:37 +02:00
parent f65b217a92
commit cc2397669d
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
7 changed files with 74 additions and 53 deletions

View file

@ -15,8 +15,6 @@
../common/efi.nix
../common/zfs.nix
../../users/root
./fs.nix
./net.nix
];
@ -35,15 +33,22 @@
};
in {
test = defineVm 11;
#nginx = defineVm 12;
#kanidm = defineVm 13;
#gitea = defineVm 14;
#vaultwarden = defineVm 15;
#samba = defineVm 16;
#fasten-health = defineVm 17;
#immich = defineVm 18;
#paperless = defineVm 19;
#kanidm = defineVm 12 // {
# configPath = ./vm-test.nix;
#};
};
microvm.vms.test.config = {
imports = [
../common/core
../../users/root
];
home-manager.users.root.home.minimal = true;
rekey.hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBXXjI6uB26xOF0DPy/QyLladoGIKfAtofyqPgIkCH/g";
};
}