Files
nixos/common/secrets.nix
2024-07-13 22:32:24 -07:00

14 lines
261 B
Nix

{ 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 ];
};
}