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}