🐛 fix startup issues

This commit is contained in:
Moritz Böhme 2022-08-20 14:13:51 +02:00
parent 1a438c7cdf
commit 2892d1c1a1
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -11,6 +11,9 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
# KERNEL
boot.kernelPackages = pkgs.linuxPackages_latest;
# MY MODULES # MY MODULES
my.email = { my.email = {
enable = true; enable = true;
@ -62,6 +65,11 @@
}; };
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl = {
enable = true;
driSupport32Bit = true;
};
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
services.xserver.xrandrHeads = [ services.xserver.xrandrHeads = [
{ output = "HDMI-1"; } { output = "HDMI-1"; }
{ {