feature(openssh): add modules for openssh and openpgp

This commit is contained in:
2025-12-28 18:47:12 +01:00
parent d06ab6d54b
commit 3c18029b95
2 changed files with 18 additions and 0 deletions

9
modules/nixos/gnupg.nix Normal file
View File

@@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
# enable gnupg agent
services.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
}

View File

@@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
# enable the openssh daemon
services.openssh = {
enable = true;
openFirewall = true;
};
}