summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-12-30 09:40:24 +0100
committerMatthias Beyer <mail@beyermatthias.de>2022-01-15 09:07:54 +0100
commit1f10b0434f96c8fc7b68ab32f245159e6dbc83fb (patch)
treec2766953d361bf68f33f748bf2c363f50a63ca91 /nixos
parentb90efe70883d5de9ccd4aa99f56f83b483fe4b97 (diff)
timetagger: Make enable option with mkOption
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/timetagger.nix20
1 files changed, 12 insertions, 8 deletions
diff --git a/nixos/modules/services/web-apps/timetagger.nix b/nixos/modules/services/web-apps/timetagger.nix
index 085bd57872d5..373f4fcd52f8 100644
--- a/nixos/modules/services/web-apps/timetagger.nix
+++ b/nixos/modules/services/web-apps/timetagger.nix
@@ -8,15 +8,19 @@ in {
options = {
services.timetagger = {
- enable = mkEnableOption ''
- Tag your time, get the insight
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Tag your time, get the insight
- <note><para>
- This app does not do authentication.
- You must setup authentication yourself or run it in an environment where
- only allowed users have access.
- </para></note>
- '';
+ <note><para>
+ This app does not do authentication.
+ You must setup authentication yourself or run it in an environment where
+ only allowed users have access.
+ </para></note>
+ '';
+ };
bindAddr = mkOption {
description = "Address to bind to.";