feat(taskwarrior): add enable option

This commit is contained in:
2026-05-22 10:27:12 +02:00
parent 96c65fc991
commit 1f115f8738
5 changed files with 74 additions and 64 deletions

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"