summaryrefslogtreecommitdiffstats
path: root/lass/1systems/helios/config.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-11-12 12:59:45 +0100
committerlassulus <lassulus@lassul.us>2017-11-12 12:59:45 +0100
commit8ccfefb51f8eb4601025fee5e6bd9971dd032f9e (patch)
tree1f06f30af48357ecdae540c806590fa07e2a96dc /lass/1systems/helios/config.nix
parent0d257a925bf936d2bd08ab2b04e0ab2762f289f0 (diff)
l helios.r: add monitor config
Diffstat (limited to 'lass/1systems/helios/config.nix')
-rw-r--r--lass/1systems/helios/config.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/lass/1systems/helios/config.nix b/lass/1systems/helios/config.nix
index 46ea9ebd8..0f0dd7dd9 100644
--- a/lass/1systems/helios/config.nix
+++ b/lass/1systems/helios/config.nix
@@ -110,11 +110,16 @@ with import <stockholm/lib>;
services.xserver.videoDrivers = [ "nvidia" ];
services.xserver.xrandrHeads = [
- { output = "DP-0.8"; }
- { output = "DP-4"; monitorConfig = ''Option "Rotate" "right"''; }
{ output = "DP-2"; primary = true; }
+ { output = "DP-4"; monitorConfig = ''Option "Rotate" "left"''; }
+ { output = "DP-0"; }
];
+ services.xserver.displayManager.sessionCommands = ''
+ ${pkgs.xorg.xrandr}/bin/xrandr --output DP-6 --off --output DP-5 --off --output DP-4 --mode 2560x1440 --pos 3840x0 --rotate left --output DP-3 --off --output DP-2 --primary --mode 3840x2160 --pos 0x400 --rotate normal --output DP-1 --off --output DP-0 --mode 2560x1440 --pos 5280x1120 --rotate normal
+ ${pkgs.systemd}/bin/systemctl start xresources.service
+ '';
+
networking.hostName = lib.mkForce "BLN02NB0162";
security.pki.certificateFiles = [