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; + }; +}