mirror of
https://github.com/JaxTheWolf/nixos.git
synced 2026-05-30 15:12:01 +02:00
Fix GDM monitors.xml injection
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
gdmMonitorsXml = pkgs.writeText "gdm-monitor.xml" ''
|
||||
monitorsXml = ''
|
||||
<monitors version="2">
|
||||
<configuration>
|
||||
<layoutmode>logical</layoutmode>
|
||||
@@ -291,7 +291,5 @@
|
||||
</monitors>
|
||||
'';
|
||||
in {
|
||||
systemd.tmpfiles.rules = [
|
||||
"L+ /run/gdm/.config/monitors.xml - - - - ${gdmMonitorsXml}"
|
||||
];
|
||||
environment.etc."xdg/monitors.xml".text = monitorsXml;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user