diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-12-30 09:40:24 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2022-01-15 09:07:54 +0100 |
commit | 1f10b0434f96c8fc7b68ab32f245159e6dbc83fb (patch) | |
tree | c2766953d361bf68f33f748bf2c363f50a63ca91 /nixos | |
parent | b90efe70883d5de9ccd4aa99f56f83b483fe4b97 (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.nix | 20 |
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."; |