Add tools.coding option

This commit is contained in:
Nettika 2024-07-13 22:32:24 -07:00
parent 7dd42c0382
commit 84e220c8a7
5 changed files with 53 additions and 48 deletions

13
common/secrets.nix Normal file
View file

@ -0,0 +1,13 @@
{ lib, config, pkgs, ... }:
with lib;
{
options = {
tools.secrets = {
enable = mkEnableOption "Enable secret-management tools";
};
};
config = mkIf config.tools.secrets.enable {
environment.systemPackages = [ pkgs.git-crypt ];
};
}