From 1a35d0ccb51c24f0c7d5ffffc802312b96a0319f Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 21 Aug 2024 23:09:53 +0100 Subject: [PATCH] nixos/pict-rs: fix environment variable name Thanks to @marius851000 for reporting this issue. I assume it probably changed in 0.5 or something. --- nixos/modules/services/web-apps/pict-rs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/pict-rs.nix b/nixos/modules/services/web-apps/pict-rs.nix index 07f84578a59b..2050348962c4 100644 --- a/nixos/modules/services/web-apps/pict-rs.nix +++ b/nixos/modules/services/web-apps/pict-rs.nix @@ -86,7 +86,7 @@ in } else { PICTRS__REPO__PATH = if cfg.repoPath != null then cfg.repoPath else "${cfg.dataDir}/sled-repo"; PICTRS__STORE__PATH = if cfg.storePath != null then cfg.storePath else "${cfg.dataDir}/files"; - PICTRS__SERVER__ADDR = "${cfg.address}:${toString cfg.port}"; + PICTRS__SERVER__ADDRESS = "${cfg.address}:${toString cfg.port}"; }; wantedBy = [ "multi-user.target" ]; serviceConfig = {