timetagger: Make enable option with mkOption

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer
2021-12-30 09:40:24 +01:00
parent b90efe7088
commit 1f10b0434f

View File

@@ -8,7 +8,10 @@ in {
options = {
services.timetagger = {
enable = mkEnableOption ''
enable = mkOption {
type = types.bool;
default = false;
description = ''
Tag your time, get the insight
<note><para>
@@ -17,6 +20,7 @@ in {
only allowed users have access.
</para></note>
'';
};
bindAddr = mkOption {
description = "Address to bind to.";