From 762a6195532d99c96923a60fc4a8855fe901e619 Mon Sep 17 00:00:00 2001 From: alexion Date: Mon, 19 Oct 2026 23:25:42 -0400 Subject: [PATCH] refactor(nixos): inline RomM environment path --- configs/nixos/guests/romm.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/nixos/guests/romm.nix b/configs/nixos/guests/romm.nix index ddafb95..ca424e0 100644 --- a/configs/nixos/guests/romm.nix +++ b/configs/nixos/guests/romm.nix @@ -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; };