From d991776527b641b029a5916597a1261e2f3b4235 Mon Sep 17 00:00:00 2001 From: Leix b Date: Thu, 11 May 2023 14:04:17 +0200 Subject: [PATCH] taskwarrior: add package option (#3768) --- modules/programs/taskwarrior.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/programs/taskwarrior.nix b/modules/programs/taskwarrior.nix index 3eb0013e3..985b6285d 100644 --- a/modules/programs/taskwarrior.nix +++ b/modules/programs/taskwarrior.nix @@ -84,11 +84,13 @@ in { $XDG_CONFIG_HOME/task/taskrc. ''; }; + + package = mkPackageOption pkgs "taskwarrior" { }; }; }; config = mkIf cfg.enable { - home.packages = [ pkgs.taskwarrior ]; + home.packages = [ cfg.package ]; home.file."${homeConf}".text = '' data.location=${cfg.dataLocation}