forked from c3d2/nix-config
dacbert: switch to wayland, vnc -> rdp
This commit is contained in:
parent
85d9a11e96
commit
b84243c03b
|
@ -133,12 +133,15 @@
|
|||
};
|
||||
|
||||
displayManager = {
|
||||
lightdm = { enable = true; };
|
||||
gdm = {
|
||||
enable = true;
|
||||
wayland = true;
|
||||
};
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = "k-ot";
|
||||
};
|
||||
defaultSession = "gnome-xorg";
|
||||
defaultSession = "gnome";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -151,18 +154,19 @@
|
|||
MemorySwapMax = "0";
|
||||
};
|
||||
|
||||
user.services.x11vnc = {
|
||||
description = "X11 VNC server";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
partOf = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = ''
|
||||
${pkgs.x11vnc}/bin/x11vnc -shared -forever -passwd k-ot
|
||||
'';
|
||||
RestartSec = 3;
|
||||
Restart = "always";
|
||||
};
|
||||
};
|
||||
# replaced by gnome-sharing
|
||||
# user.services.wayvnc = {
|
||||
# description = "Wayland VNC server";
|
||||
# wantedBy = [ "graphical-session.target" ];
|
||||
# partOf = [ "graphical-session.target" ];
|
||||
# serviceConfig = {
|
||||
# ExecStart = ''
|
||||
# ${pkgs.wayvnc}/bin/wayvnc 0.0.0.0
|
||||
# '';
|
||||
# RestartSec = 3;
|
||||
# Restart = "always";
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
system.stateVersion = "21.05"; # Did you read the comment?
|
||||
|
|
Loading…
Reference in New Issue
Block a user