Update gdm-monitor.nix
This commit is contained in:
parent
98e2a287a0
commit
5a50ea7709
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
{
|
||||
# Copy monitors.xml to GDM's config directory to prevent display mode changes during login
|
||||
# This eliminates the black screen/signal loss when transitioning from GDM to user session
|
||||
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
|
||||
environment.etc."gdm-monitors.xml" = {
|
||||
source = pkgs.writeText "monitors.xml" ''
|
||||
<monitors version="2">
|
||||
|
|
@ -40,4 +40,5 @@
|
|||
"d /var/lib/gdm/.config 0711 gdm gdm"
|
||||
"L+ /var/lib/gdm/.config/monitors.xml - - - - /etc/gdm-monitors.xml"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue