timetagger: Make enable option with mkOption

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
main
Matthias Beyer 2 years ago
parent b90efe7088
commit 1f10b0434f
  1. 20
      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.";

Loading…
Cancel
Save