Skip to content

Commit

Permalink
desktop: instal openssh and allow it in the firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
ahayzen committed Dec 8, 2024
1 parent 8fd5ccf commit 675f871
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nixos/modules/desktop/firewall.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
#
# SPDX-License-Identifier: MPL-2.0

{ pkgs, ... }:
{
# TODO: allow common port ranges for mDNS etc?

# GNOME can enable openssh to install and allow the port
environment.systemPackages = [
pkgs.openssh
];

networking.firewall.allowedTCPPorts = [ 22 ];
}

0 comments on commit 675f871

Please sign in to comment.