refactor(sunshine.nix): update display manager and X server configuration
This commit is contained in:
parent
183b3b682c
commit
f4813cb281
@ -95,6 +95,7 @@ in
|
|||||||
origin_web_ui_allowed = "lan";
|
origin_web_ui_allowed = "lan";
|
||||||
min_threads = 12;
|
min_threads = 12;
|
||||||
log_path = "sunshine.log";
|
log_path = "sunshine.log";
|
||||||
|
back_button_timeout = 2500;
|
||||||
};
|
};
|
||||||
applications = {
|
applications = {
|
||||||
env = {
|
env = {
|
||||||
@ -133,21 +134,23 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
displayManager = {
|
||||||
|
autoLogin = {
|
||||||
|
inherit user;
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
sddm = {
|
||||||
|
enable = true;
|
||||||
|
wayland.enable = false;
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
videoDrivers = [ "nvidia" ];
|
videoDrivers = [ "nvidia" ];
|
||||||
desktopManager.gnome.enable = true;
|
desktopManager.xfce.enable = true;
|
||||||
displayManager = {
|
|
||||||
gdm = {
|
|
||||||
enable = true;
|
|
||||||
autoSuspend = false;
|
|
||||||
autoLogin = {
|
|
||||||
inherit user;
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
defaultSession = "gnome-xorg";
|
|
||||||
};
|
|
||||||
|
|
||||||
monitorSection = ''
|
monitorSection = ''
|
||||||
HorizSync 5.0 - 1000.0
|
HorizSync 5.0 - 1000.0
|
||||||
|
Loading…
Reference in New Issue
Block a user