cleverca22
8/1/2016 - 4:44 PM

gistfile1.txt

  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"
    ];
  };