Allow a single vnc port

This commit is contained in:
Benson Chu 2025-04-26 13:02:35 -05:00
parent 6155da46b7
commit aa221f9784
2 changed files with 8 additions and 0 deletions

View file

@ -5,6 +5,7 @@ in
{
imports = [
../common/configuration.nix
../common/vnc.nix
./hardware-configuration.nix
];

7
hosts/common/vnc.nix Normal file
View file

@ -0,0 +1,7 @@
{ config, pkgs, ... }:
{
networking.firewall = {
enable = true;
allowedTCPPorts = [ 5900 ];
};
}