Monorepo for Tangled tangled.org

nix: knot: pass config to knot guard #700

closed opened by boltless.me targeting master from sandboxed-atmosphere

this is a temporary fix. ideal solution would be introducing json file configuration or serving ssh server by our own instead of relying on sshd

Signed-off-by: Seongmin Lee git@boltless.me

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m3sa6t263522
+13
Diff #1
+13
nix/modules/knot.nix
··· 157 157 ''; 158 158 }; 159 159 160 + # TODO: abstract this to share same env table with systemd.services.knot 161 + environment.variables = { 162 + "KNOT_REPO_SCAN_PATH" = cfg.repo.scanPath; 163 + "KNOT_REPO_MAIN_BRANCH" = cfg.repo.mainBranch; 164 + "APPVIEW_ENDPOINT" = cfg.appviewEndpoint; 165 + "KNOT_SERVER_INTERNAL_LISTEN_ADDR" = cfg.server.internalListenAddr; 166 + "KNOT_SERVER_LISTEN_ADDR" = cfg.server.listenAddr; 167 + "KNOT_SERVER_DB_PATH" = cfg.server.dbPath; 168 + "KNOT_SERVER_HOSTNAME" = cfg.server.hostname; 169 + "KNOT_SERVER_PLC_URL" = cfg.server.plcUrl; 170 + "KNOT_SERVER_JETSTREAM_ENDPOINT" = cfg.server.jetstreamEndpoint; 171 + "KNOT_SERVER_OWNER" = cfg.server.owner; 172 + }; 160 173 environment.etc."ssh/keyfetch_wrapper" = { 161 174 mode = "0555"; 162 175 text = ''

History

9 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
guard,knotserver/internal: move guard logic to internal server
expand 0 comments
closed without merging
1 commit
expand
guard,knotserver/internal: move guard logic to internal server
expand 0 comments
1 commit
expand
guard,knotserver/internal: move guard logic to internal server
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
expand 0 comments