Files

23 lines
479 B
Nix
Raw Permalink Normal View History

2026-08-20 22:03:24 +02:00
{config, ...}: let
m = config.flake.modules.homeManager;
in {
flake.modules.homeManager.security = {
config,
lib,
...
}:
with lib; let
cfg = config.home.security;
in {
imports = [
m.gpg
m.ssh
];
options.home.security.fullDesktop = mkEnableOption "Enable all modules";
config.home.security = {
gpg.enable = mkDefault cfg.fullDesktop;
ssh.enable = mkDefault cfg.fullDesktop;
};
};
}