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,15 +8,19 @@ in {
options = { options = {
services.timetagger = { services.timetagger = {
enable = mkEnableOption '' enable = mkOption {
Tag your time, get the insight type = types.bool;
default = false;
description = ''
Tag your time, get the insight
<note><para> <note><para>
This app does not do authentication. This app does not do authentication.
You must setup authentication yourself or run it in an environment where You must setup authentication yourself or run it in an environment where
only allowed users have access. only allowed users have access.
</para></note> </para></note>
''; '';
};
bindAddr = mkOption { bindAddr = mkOption {
description = "Address to bind to."; description = "Address to bind to.";