16 lines
275 B
Nix
16 lines
275 B
Nix
{ outputs, options, config, lib, pkgs, ...}:
|
|
let
|
|
cfg = config.modules.security.age;
|
|
in
|
|
{
|
|
options.modules.security.age = {
|
|
enable = lib.mkEnableOption false;
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
age
|
|
];
|
|
|
|
};
|
|
}
|