nixos/pict-rs: fix environment variable name

Thanks to @marius851000 for reporting this issue. I assume it probably
changed in 0.5 or something.
This commit is contained in:
Emily 2024-08-21 23:09:53 +01:00
parent 8b6c05209f
commit 1a35d0ccb5

View file

@ -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 = {