Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created March 6, 2017 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/2972e957180541bf09cc0328f3e33bae to your computer and use it in GitHub Desktop.
Save cleverca22/2972e957180541bf09cc0328f3e33bae to your computer and use it in GitHub Desktop.
{ pkgs, ... }:
{
services.xserver.displayManager = {
xserverBin = lib.mkForce "${pkgs.tightvnc}/bin/Xvnc";
xserverArgs = lib.mkForce [
"-terminate" ":0" "-nolisten tcp" "-fp" "${pkgs.xorg.fontmiscmisc}/lib/X11/fonts/misc,${pkgs.xorg.fontcursormisc}/lib/X11/fonts/misc" "-rfbauth" "/root/.vnc/password" "-depth" "24" "-geometry" "1920x1080"
];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment