Testing SSH signing

This commit is contained in:
cnst
2024-09-23 19:00:26 +02:00
parent 49dda26a01
commit 1582871c32
6 changed files with 25 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
{
config,
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.modules.userd.gpg;
in {
options = {
modules.userd.gpg.enable = mkEnableOption "Enables gpg";
};
config = mkIf cfg.enable {
services.gpg-agent = {
enable = true;
enableSshSupport = true;
};
};
}