Skip to content

Commit 76ea0ae

Browse files
committed
set nft-storage-key as an option
1 parent fa31140 commit 76ea0ae

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

arion-compose.nix

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{ pkgs, lib, config, ... }:
22

33
let
4-
inherit (config) share_dir;
4+
inherit (config) share_dir nft-storage-key;
55
inherit (pkgs.lib) mkOption;
66
in
77

@@ -10,6 +10,10 @@ in
1010
share_dir = mkOption {
1111
default = "/var/lib/seabug";
1212
};
13+
14+
nft-storage-key = mkOption {
15+
default = "NFT_STORAGE_KEY_HERE";
16+
};
1317
};
1418

1519
# NOTE: still can't remember it...
@@ -128,7 +132,7 @@ in
128132
"--db-connection"
129133
"postgresql://seabug:seabug@postgresql-db:5432/seabug"
130134
"--nft-storage-key"
131-
"NFT_STORAGE_KEY_HERE"
135+
nft-storage-key
132136
];
133137
depends_on = { postgresql-db.condition = "service_healthy"; };
134138
ports = [ "8008:9999" ];

0 commit comments

Comments
 (0)