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 = ""; };