Skip to content

Commit

Permalink
Add nh terminal program configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
yousiki committed Feb 13, 2025
1 parent c2267c4 commit b181012
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions modules/home/programs/terminal/nh/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
lib,
namespace,
config,
...
}: let
cfg = config.${namespace}.programs.terminal.nh;
in {
options.${namespace}.programs.terminal.nh = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether to enable nh.";
};
};

config = lib.mkIf cfg.enable {
programs.nh = {
enable = true;
};
};
}
1 change: 1 addition & 0 deletions modules/home/suites/terminal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ in {
gdu.enable = true;
git.enable = true;
mcfly.enable = true;
nh.enable = true;
starship.enable = true;
tmux.enable = true;
yazi.enable = true;
Expand Down

0 comments on commit b181012

Please sign in to comment.