feat(taskwarrior): add enable option

This commit is contained in:
hektor committed 2026-05-24 16:00:20 +02:00
1 parent 96c65fc991
commit 1f115f8738
5 files changed
+73 -63

No files matched your search

+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"