From b8c3bfbebf40b1336e57f0b0b0e853833f81cb9c Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Thu, 8 Jun 2023 15:15:47 +0200 Subject: [PATCH] test 2 --- nixos/i3.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/nixos/i3.nix b/nixos/i3.nix index d65c213..8c5095a 100644 --- a/nixos/i3.nix +++ b/nixos/i3.nix @@ -4,12 +4,10 @@ environment.pathsToLink = [ "/libexec" ]; # links /libexec from derivations to /run/current-system/sw # Define the i3 window manager configuration services.xserver = { - xrandrHeads = { - [ - "HDMI-1 --auto --left-of DP-1" - "DP-1 --auto --primary --right-of HDMI-1" - ]; - }; + xrandrHeads = [ + "HDMI-1 --auto --left-of DP-1" + "DP-1 --auto --primary HDMI-1" + ]; enable = true; @@ -17,9 +15,7 @@ xterm.enable = false; }; - displayManager = { - defaultSession = "none+i3"; - }; + displayManager.defaultSession = "none+i3"; windowManager.i3 = { enable = true; @@ -31,7 +27,6 @@ ]; }; - windowManager.default = "i3"; layout = "us"; xkbVariant = ""; };