timetagger: Make enable option with mkOption
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
@@ -8,7 +8,10 @@ in {
|
|||||||
|
|
||||||
options = {
|
options = {
|
||||||
services.timetagger = {
|
services.timetagger = {
|
||||||
enable = mkEnableOption ''
|
enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
Tag your time, get the insight
|
Tag your time, get the insight
|
||||||
|
|
||||||
<note><para>
|
<note><para>
|
||||||
@@ -17,6 +20,7 @@ in {
|
|||||||
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