I HATE
This commit is contained in:
parent
7fcf7e9bfb
commit
fd98ce38b0
1 changed files with 0 additions and 0 deletions
17
common/desktop/vnc.nix
Normal file
17
common/desktop/vnc.nix
Normal 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;
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue