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:
parent
f65b217a92
commit
cc2397669d
7 changed files with 74 additions and 53 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue