mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-26 18:58:28 +02:00
feat: migrate all nixos services from idols to 12kingdoms
This commit is contained in:
35
hosts/12kingdoms-suzu/microvm/default.nix
Normal file
35
hosts/12kingdoms-suzu/microvm/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
myvars,
|
||||
mylib,
|
||||
daeuniverse,
|
||||
agenix,
|
||||
microvm,
|
||||
mysecrets,
|
||||
nuenv,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the microvm host module
|
||||
microvm.nixosModules.host
|
||||
];
|
||||
|
||||
microvm.vms = {
|
||||
suzi = {
|
||||
autostart = true;
|
||||
restartIfChanged = true;
|
||||
|
||||
specialArgs = {inherit myvars mylib daeuniverse agenix mysecrets nuenv;};
|
||||
|
||||
config.imports = [./suzi];
|
||||
};
|
||||
|
||||
mitsuha = {
|
||||
autostart = true;
|
||||
restartIfChanged = true;
|
||||
|
||||
specialArgs = {inherit myvars mylib nuenv;};
|
||||
|
||||
config.imports = [./mitsuha];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user