Files
nixos/common/default.nix
2024-07-13 11:36:38 -07:00

12 lines
244 B
Nix

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