peter-nixos/hosts/common/vnc.nix
2025-04-26 13:20:27 -05:00

11 lines
222 B
Nix

{ config, pkgs, ... }:
{
networking.firewall = {
enable = true;
allowedTCPPorts = [ 5900 ];
};
environment.shellAliases = {
startvnc = "x0vncserver -PasswordFile=$HOME/.vnc/passwd -rfbport=5900";
};
}