This commit is contained in:
2026-06-19 18:28:22 +09:00
parent 322a5fe6be
commit f62e4077ea
7 changed files with 71 additions and 25 deletions
+22
View File
@@ -0,0 +1,22 @@
{
lib,
config,
...
}:
let
hmCfg = config.my.applications.gnupg.homeManager;
in
{
options.my.applications.gnupg.homeManager = {
enable = lib.mkEnableOption "GnuPG home-manager configuration";
};
config.home-manager.sharedModules = [
{
config = lib.mkIf hmCfg.enable {
services.gpg-agent.enable = false;
services.gpg-agent.enableSshSupport = false;
};
}
];
}