Signed-off-by: Anirudh Oppiliappan anirudh@tangled.org
+11
-3
nix/modules/knot.nix
+11
-3
nix/modules/knot.nix
···
88
89
userEmail = mkOption {
90
type = types.str;
91
-
default = "noreply@tangled.sh";
92
description = "Git user email used as committer";
93
};
94
};
···
258
"KNOT_SERVER_PLC_URL=${cfg.server.plcUrl}"
259
"KNOT_SERVER_JETSTREAM_ENDPOINT=${cfg.server.jetstreamEndpoint}"
260
"KNOT_SERVER_OWNER=${cfg.server.owner}"
261
-
"KNOT_SERVER_LOG_DIDS=${if cfg.server.logDids then "true" else "false"}"
262
-
"KNOT_SERVER_DEV=${if cfg.server.dev then "true" else "false"}"
263
];
264
ExecStart = "${cfg.package}/bin/knot server";
265
Restart = "always";
···
88
89
userEmail = mkOption {
90
type = types.str;
91
+
default = "noreply@tangled.org";
92
description = "Git user email used as committer";
93
};
94
};
···
258
"KNOT_SERVER_PLC_URL=${cfg.server.plcUrl}"
259
"KNOT_SERVER_JETSTREAM_ENDPOINT=${cfg.server.jetstreamEndpoint}"
260
"KNOT_SERVER_OWNER=${cfg.server.owner}"
261
+
"KNOT_SERVER_LOG_DIDS=${
262
+
if cfg.server.logDids
263
+
then "true"
264
+
else "false"
265
+
}"
266
+
"KNOT_SERVER_DEV=${
267
+
if cfg.server.dev
268
+
then "true"
269
+
else "false"
270
+
}"
271
];
272
ExecStart = "${cfg.package}/bin/knot server";
273
Restart = "always";
History
3 rounds
2 comments
anirudh.fi
submitted
#2
1 commit
expand
collapse
nix/modules: update knot module options
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
expand 0 comments
pull request successfully merged
anirudh.fi
submitted
#1
1 commit
expand
collapse
nix/modules: update knot module options
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
expand 0 comments
anirudh.fi
submitted
#0
1 commit
expand
collapse
nix/modules: update knot module options
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
lgtm!