summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/reaktor2.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-11-24 08:27:30 +0100
committermakefu <github@syntax-fehler.de>2021-11-24 08:27:30 +0100
commitd2776a87a51bbc63957ee2e590f18a7425a87987 (patch)
tree7052993633e46defc64737aff54d0272a8ce75c1 /krebs/3modules/reaktor2.nix
parent60b7a7bded68ebd3a5d76b6e0374e189f3a64300 (diff)
parent4c7abec39771cbd47dc091c674a0429f5c757ebc (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'krebs/3modules/reaktor2.nix')
-rw-r--r--krebs/3modules/reaktor2.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/krebs/3modules/reaktor2.nix b/krebs/3modules/reaktor2.nix
index fcc453fa4..26aac5d5a 100644
--- a/krebs/3modules/reaktor2.nix
+++ b/krebs/3modules/reaktor2.nix
@@ -26,11 +26,13 @@ with import <stockholm/lib>;
};
stateDir = mkOption {
default = "/var/lib/${self.config.username}";
+ defaultText = "/var/lib/‹username›";
readOnly = true;
type = types.absolute-pathname;
};
systemd-service-name = mkOption {
default = "reaktor2${optionalString (name != "default") "-${name}"}";
+ defaultText = "reaktor2-‹name› or just reaktor2 if ‹name› is \"default\"";
type = types.filename;
};
sendDelaySec = mkOption {
@@ -39,6 +41,7 @@ with import <stockholm/lib>;
};
username = mkOption {
default = self.config.systemd-service-name;
+ defaultText = "‹systemd-service-name›";
type = types.username;
};
useTLS = mkOption {