nixos/modules/security/age.nix

18 lines
277 B
Nix
Raw Normal View History

2023-08-31 13:35:16 +04:00
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.security.age;
in
{
options.modules.security.age = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
age
];
};
}