Skip to content

Commit

Permalink
📦 Added the mat2 package
Browse files Browse the repository at this point in the history
  • Loading branch information
theobori committed Jan 22, 2025
1 parent 1646783 commit a2f4fd8
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/mat/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.mat;
in
{
options.${namespace}.cli.programs.mat = {
enable = mkBoolOpt false "Whether or not to enable mat.";
};

config = mkIf cfg.enable { home.packages = with pkgs; [ mat2 ]; };
}
1 change: 1 addition & 0 deletions modules/home/roles/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ in
manix = enabled;
knock = enabled;
sshs = enabled;
mat = enabled;
};
};

Expand Down

0 comments on commit a2f4fd8

Please sign in to comment.