This commit is contained in:
Mans Ziesel 2023-06-08 15:15:47 +02:00
parent 84da86bb17
commit b8c3bfbebf

View File

@ -4,12 +4,10 @@
environment.pathsToLink = [ "/libexec" ]; # links /libexec from derivations to /run/current-system/sw environment.pathsToLink = [ "/libexec" ]; # links /libexec from derivations to /run/current-system/sw
# Define the i3 window manager configuration # Define the i3 window manager configuration
services.xserver = { services.xserver = {
xrandrHeads = { xrandrHeads = [
[ "HDMI-1 --auto --left-of DP-1"
"HDMI-1 --auto --left-of DP-1" "DP-1 --auto --primary HDMI-1"
"DP-1 --auto --primary --right-of HDMI-1" ];
];
};
enable = true; enable = true;
@ -17,9 +15,7 @@
xterm.enable = false; xterm.enable = false;
}; };
displayManager = { displayManager.defaultSession = "none+i3";
defaultSession = "none+i3";
};
windowManager.i3 = { windowManager.i3 = {
enable = true; enable = true;
@ -31,7 +27,6 @@
]; ];
}; };
windowManager.default = "i3";
layout = "us"; layout = "us";
xkbVariant = ""; xkbVariant = "";
}; };