mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
xorg.conf clean up
This commit is contained in:
parent
0b75a56516
commit
82b2d4971e
5 changed files with 38 additions and 74 deletions
|
|
@ -32,14 +32,14 @@ in
|
|||
};
|
||||
|
||||
services.xserver = {
|
||||
config = lib.mkForce "";
|
||||
|
||||
displayManager.setupCommands = lib.mkBefore ''
|
||||
if ! [ -e "/etc/Xorg/ONE_MONITOR" ] ; then
|
||||
${lib.getExe cfg_monitors}
|
||||
fi
|
||||
${lib.getExe pkgs.xorg.xset} -dpms
|
||||
'';
|
||||
|
||||
config = lib.mkForce (builtins.readFile "${_dir}/shared.conf");
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue