mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 15:14:26 +00:00
taskwarrior: add package option (#3768)
This commit is contained in:
parent
622fa73725
commit
d991776527
1 changed files with 3 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue