aboutsummaryrefslogtreecommitdiff
path: root/modules/services
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/nixos/ssh.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/services/nixos/ssh.nix b/modules/services/nixos/ssh.nix
index b594a2d..2867d10 100644
--- a/modules/services/nixos/ssh.nix
+++ b/modules/services/nixos/ssh.nix
@@ -4,11 +4,10 @@
...
}: let
cfg = config.collinux.services.networking.sshd;
-in
- lib.mkIf cfg.enable {
+in {
+ config = lib.mkIf cfg.enable {
services.openssh = {
enable = true;
- openFirewall = true;
hostKeys = [
{
path = "/etc/ssh/ssh_host_ed25519_key";
@@ -22,4 +21,5 @@ in
};
services.tailscale.extraSetFlags = lib.optional config.services.tailscale.enable "--ssh=true";
- }
+ };
+}