1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-22 18:21:58 +01:00

fix: try to resolve boot process

This commit is contained in:
Thomas Boerger 2022-11-22 17:48:00 +01:00
parent b6759dc8f2
commit c589247d7a
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
2 changed files with 20 additions and 3 deletions

@ -8,7 +8,7 @@
];
};
kernelPackages = lib.mkDefault pkgs.linuxPackages;
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
cleanTmpDir = true;
loader = {
@ -25,10 +25,10 @@
};
kernelModules = [ ];
extraModulePackages = [ ];
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
initrd = {
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "acpi_call" ];
kernelModules = [ "dm-snapshot" ];
};
};

@ -14,5 +14,22 @@
updateMicrocode = lib.mkDefault true;
};
};
nvidia = {
prime = {
sync = {
enable = true;
};
nvidiaBusId = "PCI:3:0:0";
intelBusId = "PCI:0:2:0";
};
};
};
services = {
xserver = {
videoDrivers = [ "nvidia" ];
};
};
}