test: forgejo microVM

This commit is contained in:
Nick 2025-11-09 04:00:09 -06:00
parent 6d83b2b2f5
commit bb9a102fd9
3 changed files with 13 additions and 16 deletions

View file

@ -57,7 +57,7 @@ in
};
# Environment file with secrets (mounted from host)
environmentFile = "/run/secrets/${serviceCfg.name}/env";
environmentFile = "/run/secrets/env";
};
openssh = {
enable = true;
@ -140,7 +140,7 @@ in
{
mountPoint = "/run/secrets";
proto = "virtiofs";
source = "/run/secrets";
source = "/run/secrets/${serviceCfg.name}";
tag = "host_secrets";
}
];
@ -171,7 +171,7 @@ in
users.users.caddy.extraGroups = [ "acme" ];
systemd.tmpfiles.rules = [
"d ${serviceCfg.mntPaths.path0} 0755 root root -"
"d ${serviceCfg.mntPaths.path0} 0777 root root -"
];
sops.secrets = {