mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:08:11 +09:00
23 lines
414 B
Nix
23 lines
414 B
Nix
{
|
|
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;
|
|
};
|
|
}
|
|
];
|
|
}
|