refactor(nixos): inline RomM environment path
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user