timetagger: Make enable option with mkOption
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
@@ -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.";
|
||||||
|
|||||||
Reference in New Issue
Block a user