mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-24 10:21:43 +01:00
36 lines
561 B
Nix
36 lines
561 B
Nix
{
|
|
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];
|
|
};
|
|
};
|
|
}
|