Skip to content

Commit

Permalink
📦 Added genact in the development role
Browse files Browse the repository at this point in the history
  • Loading branch information
theobori committed Dec 4, 2024
1 parent bcfc9b6 commit 37f6767
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions modules/home/cli/programs/genact/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
pkgs,
config,
lib,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkBoolOpt;

cfg = config.${namespace}.cli.programs.genact;
in
{
options.${namespace}.cli.programs.genact = {
enable = mkBoolOpt false "Whether or not to enable genact.";
};

config = mkIf cfg.enable { home.packages = with pkgs; [ genact ]; };
}
1 change: 1 addition & 0 deletions modules/home/roles/development/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ in
lazygit = enabled;
tldr = enabled;
krabby = enabled;
genact = enabled;
};
};
};
Expand Down

0 comments on commit 37f6767

Please sign in to comment.