peter-nixos/hosts/common/vnc.nix

11 lines
246 B
Nix

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