bonfire/modules/shell/taskwarrior.nix

15 lines
287 B
Nix
Raw Normal View History

2023-06-15 11:05:31 +05:00
{ config, options, lib, pkgs, ... }:
with lib;
with lib.custom;
let
cfg = config.modules.shell.taskwarrior;
in {
options.modules.shell.taskwarrior = {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
user.packages = [ pkgs.taskwarrior ];
};
}