feature(openssh): add modules for openssh and openpgp
This commit is contained in:
9
modules/nixos/gnupg.nix
Normal file
9
modules/nixos/gnupg.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# enable gnupg agent
|
||||||
|
services.gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
9
modules/nixos/openssh.nix
Normal file
9
modules/nixos/openssh.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# enable the openssh daemon
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user