refactor(nixos): inline RomM environment path

This commit is contained in:
2026-10-19 23:25:42 -04:00
parent 9887b67610
commit 762a619553

View File

@@ -5,7 +5,6 @@
}:
let
cfg = config.guests.romm;
environmentFile = "/run/secrets/romm.env";
rommUid = config.registry."stable-uid".${config.networking.hostName}.romm;
redisUid = config.registry."stable-uid".${config.networking.hostName}."redis-romm";
secrets = {
@@ -146,7 +145,7 @@ in
group = "storage";
mode = "2770";
};
${environmentFile} = {
"/run/secrets/romm.env" = {
file = config.sops.templates."romm.env".path;
readOnly = true;
};