Files
nixos/common/default.nix
2024-07-13 12:09:14 -07:00

12 lines
244 B
Nix
Executable File

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