🐛 fix startup issues

nixos
Moritz Böhme 2022-08-20 14:13:51 +02:00
parent 1a438c7cdf
commit 2892d1c1a1
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 8 additions and 0 deletions

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