feat(taskwarrior): add enable option

This commit is contained in:
2026-05-24 16:00:20 +02:00
parent 96c65fc991
commit 1f115f8738
5 changed files with 73 additions and 63 deletions
+5 -2
View File
@@ -1,10 +1,13 @@
{ config, ... }:
{ lib, config, ... }:
let
cfg = config.taskwarrior;
inherit (config.secrets) owner;
in
{
config = {
options.taskwarrior.enable = lib.mkEnableOption "taskwarrior";
config = lib.mkIf cfg.enable {
secrets.groups.taskwarrior = [
"sync-server-url"
"sync-server-client-id"