X is the most fucked up software on the planet

This commit is contained in:
CDaut 2024-04-17 22:26:50 +02:00
parent f30d7f25da
commit 49742e2e92
5 changed files with 109 additions and 14 deletions

View file

@ -7,9 +7,19 @@
];
# Bootloader.
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
boot.loader = {
efi.canTouchEfiVariables = true;
grub = {
enable = true;
devices = [ "nodev" ];
efiSupport = true;
useOSProber = true;
};
};
boot.initrd.kernelModules = ["amdgpu"];
services.hardware.bolt.enable = true;
networking.hostName = "nixpad"; # Define your hostname.
@ -39,14 +49,13 @@
xkb.layout = "de";
xkb.variant = "";
enable = true;
videoDrivers = [ "nvidia" ];
dpi = 100;
displayManager = {
defaultSession = "none+i3";
# TODO: adapt to actual monitor config
setupCommands = ''
${pkgs.xorg.xrandr}/bin/xrandr --output Virtual1 --mode 1920x1080;
'';
${pkgs.xorg.xrandr}/bin/xrandr --output eDP-1 --mode 3840x2160;
'';
};
windowManager.i3 = {