reaktor2: fix for manual

This commit is contained in:
tv 2021-11-08 04:27:12 +01:00
parent 07d9619956
commit 13a1eb3fc5

View File

@ -26,11 +26,13 @@ with import <stockholm/lib>;
}; };
stateDir = mkOption { stateDir = mkOption {
default = "/var/lib/${self.config.username}"; default = "/var/lib/${self.config.username}";
defaultText = "/var/lib/username";
readOnly = true; readOnly = true;
type = types.absolute-pathname; type = types.absolute-pathname;
}; };
systemd-service-name = mkOption { systemd-service-name = mkOption {
default = "reaktor2${optionalString (name != "default") "-${name}"}"; default = "reaktor2${optionalString (name != "default") "-${name}"}";
defaultText = "reaktor2-name or just reaktor2 if name is \"default\"";
type = types.filename; type = types.filename;
}; };
sendDelaySec = mkOption { sendDelaySec = mkOption {
@ -39,6 +41,7 @@ with import <stockholm/lib>;
}; };
username = mkOption { username = mkOption {
default = self.config.systemd-service-name; default = self.config.systemd-service-name;
defaultText = "systemd-service-name";
type = types.username; type = types.username;
}; };
useTLS = mkOption { useTLS = mkOption {