From 3c18029b951e1fd3188c84773bbd052e0d6c8a44 Mon Sep 17 00:00:00 2001 From: aaron Date: Sun, 28 Dec 2025 18:47:12 +0100 Subject: [PATCH] feature(openssh): add modules for openssh and openpgp --- modules/nixos/gnupg.nix | 9 +++++++++ modules/nixos/openssh.nix | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 modules/nixos/gnupg.nix create mode 100644 modules/nixos/openssh.nix diff --git a/modules/nixos/gnupg.nix b/modules/nixos/gnupg.nix new file mode 100644 index 0000000..5770783 --- /dev/null +++ b/modules/nixos/gnupg.nix @@ -0,0 +1,9 @@ +{ config, lib, pkgs, ... }: + +{ + # enable gnupg agent + services.gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; +} diff --git a/modules/nixos/openssh.nix b/modules/nixos/openssh.nix new file mode 100644 index 0000000..d6cf556 --- /dev/null +++ b/modules/nixos/openssh.nix @@ -0,0 +1,9 @@ +{ config, lib, pkgs, ... }: + +{ + # enable the openssh daemon + services.openssh = { + enable = true; + openFirewall = true; + }; +}