pre sketchy stuff

This commit is contained in:
Mans Ziesel 2023-06-11 17:31:45 +02:00
parent 234d78b624
commit 76ed533bd2
2 changed files with 5 additions and 7 deletions

View File

@ -4,11 +4,6 @@
environment.pathsToLink = [ "/libexec" ]; # links /libexec from derivations to /run/current-system/sw
# Define the i3 window manager configuration
services.xserver = {
xrandrHeads = [
"HDMI-0 --auto --left-of DP-4"
"DP-4 --auto --primary"
];
enable = true;
desktopManager = {
@ -19,6 +14,9 @@
displayManager.lightdm.enable = true;
displayManager.autoLogin.enable = true;
displayManager.autoLogin.user = "mans";
displayManager.setupCommands = ''
${pkgs.xorg.xrandr}/bin/xrandr --output DP-4 --rate 144.00 --size 1920x1080 --right-of HDMI-0 --primary --output HDMI-0 --auto
'';
windowManager.i3 = {
enable = true;

View File

@ -10,10 +10,10 @@
networking.networkmanager.enable = true;
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 22 ];
# networking.firewall.allowedTCPPorts = [ 22 ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
networking.firewall.enable = false;
# Set the hostname