1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-02 21:13:33 +02:00

taskwarrior: add package option (#3768)

This commit is contained in:
Leix b 2023-05-11 14:04:17 +02:00 committed by GitHub
parent 622fa73725
commit d991776527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,11 +84,13 @@ in {
<filename>$XDG_CONFIG_HOME/task/taskrc</filename>.
'';
};
package = mkPackageOption pkgs "taskwarrior" { };
};
};
config = mkIf cfg.enable {
home.packages = [ pkgs.taskwarrior ];
home.packages = [ cfg.package ];
home.file."${homeConf}".text = ''
data.location=${cfg.dataLocation}