aboutsummaryrefslogtreecommitdiff
path: root/modules/services/nixos/ssh.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-25 11:49:29 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-25 11:49:29 -0600
commit6f9b285bdb935fbab99978307034c7458ddc9d09 (patch)
treeeabc76d2194de6959ab5d77e13dbc44cbaac26e7 /modules/services/nixos/ssh.nix
parent87763bcc7d13e92b96c5743507795fba4444eabe (diff)
asdf
Diffstat (limited to 'modules/services/nixos/ssh.nix')
-rw-r--r--modules/services/nixos/ssh.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/services/nixos/ssh.nix b/modules/services/nixos/ssh.nix
index bf1aefe..b594a2d 100644
--- a/modules/services/nixos/ssh.nix
+++ b/modules/services/nixos/ssh.nix
@@ -8,6 +8,7 @@ in
lib.mkIf cfg.enable {
services.openssh = {
enable = true;
+ openFirewall = true;
hostKeys = [
{
path = "/etc/ssh/ssh_host_ed25519_key";
@@ -19,4 +20,6 @@ in
PasswordAuthentication = false;
};
};
+
+ services.tailscale.extraSetFlags = lib.optional config.services.tailscale.enable "--ssh=true";
}