summary refs log tree commit diff
path: root/nixos/modules/services/web-apps
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/modules/services/web-apps
parentb90efe70883d5de9ccd4aa99f56f83b483fe4b97 (diff)
downloadnixpkgs-1f10b0434f96c8fc7b68ab32f245159e6dbc83fb.tar
nixpkgs-1f10b0434f96c8fc7b68ab32f245159e6dbc83fb.tar.gz
nixpkgs-1f10b0434f96c8fc7b68ab32f245159e6dbc83fb.tar.bz2
nixpkgs-1f10b0434f96c8fc7b68ab32f245159e6dbc83fb.tar.lz
nixpkgs-1f10b0434f96c8fc7b68ab32f245159e6dbc83fb.tar.xz
nixpkgs-1f10b0434f96c8fc7b68ab32f245159e6dbc83fb.tar.zst
nixpkgs-1f10b0434f96c8fc7b68ab32f245159e6dbc83fb.zip
timetagger: Make enable option with mkOption
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'nixos/modules/services/web-apps')
-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 085bd57872d..373f4fcd52f 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.";