Allow a single vnc port
This commit is contained in:
parent
6155da46b7
commit
aa221f9784
2 changed files with 8 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ in
|
|||
{
|
||||
imports = [
|
||||
../common/configuration.nix
|
||||
../common/vnc.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
|
|
|||
7
hosts/common/vnc.nix
Normal file
7
hosts/common/vnc.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 5900 ];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue