Implements generation of monitor section

This commit is contained in:
Mikhail Klementev 2018-06-30 21:56:43 +00:00
parent 1d9c9c2196
commit 802c70e0ec
4 changed files with 32 additions and 4 deletions

View file

@ -1,4 +1,8 @@
{
imports = [
<nix/monitor.nix>
];
system.nixos.stateVersion = "18.03";
services.xserver = {

7
nix/monitor.nix Normal file
View file

@ -0,0 +1,7 @@
{
services.xserver.monitorSection = ''
Modeline "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync
Option "PreferredMode" "3840x2160_60.00"
DisplaySize 610 350
'';
}