wip
All checks were successful
Check flake syntax / flake-check (push) Successful in 4m5s

This commit is contained in:
2025-01-21 22:17:16 +01:00
parent 81f73a0704
commit af11810935
5 changed files with 171 additions and 9 deletions

View File

@@ -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";