This commit is contained in:
@@ -202,5 +202,4 @@ in
|
||||
specialArgs.self = self;
|
||||
modules = defaultModules ++ [ ./testvm ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ in
|
||||
};
|
||||
|
||||
services.malobeo.microvm.enableHostBridge = true;
|
||||
services.malobeo.microvm.deployHosts = [ "infradocs" "nextcloud" ];
|
||||
services.malobeo.microvm.deployHosts = [ "infradocs" "nextcloud" "overwatch" ];
|
||||
|
||||
networking = {
|
||||
firewall = {
|
||||
|
||||
@@ -86,6 +86,12 @@ in
|
||||
in
|
||||
builtins.listToAttrs (map mapperFunc cfg.deployHosts);
|
||||
|
||||
systemd.tmpfiles.rules = builtins.concatLists (map (name: [
|
||||
"d /var/lib/microvms/${name}/var 0755 root root - -"
|
||||
"d /var/lib/microvms/${name}/etc 0755 root root - -"
|
||||
"d /${name} 0755 root root - -"
|
||||
]) cfg.deployHosts);
|
||||
|
||||
systemd.services = builtins.foldl' (services: name: services // {
|
||||
"microvm-update@${name}" = {
|
||||
description = "Update MicroVMs automatically";
|
||||
|
||||
@@ -17,6 +17,7 @@ with lib;
|
||||
};
|
||||
|
||||
imports = [
|
||||
inputs.self.nixosModules.malobeo.vpn
|
||||
../modules/malobeo_user.nix
|
||||
../modules/sshd.nix
|
||||
../modules/minimal_tools.nix
|
||||
|
||||
Reference in New Issue
Block a user