Created
October 5, 2016 22:05
-
-
Save cleverca22/fc29344ebbd21a578d622fab5d89cb43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ 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