This commit is contained in:
waveringana 2025-06-11 02:59:54 -04:00
parent 7fcf7e9bfb
commit fd98ce38b0

17
common/desktop/vnc.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs, config, ...}:
{
services.xserver.enable = true;
services.xserver.displayManager.autoLogin = {
enable = true;
user = "regent";
};
services.xserver.displayManager.sessionCommands = ''
${pkgs.x11vnc}/bin/x11vnc -rfbauth $HOME/.vnc/passwd &
'';
services.xserver.desktopManager.xfce = {
enable = true;
}
};