mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 02:39:48 +01: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