1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01: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}