clean up kuraokami

This commit is contained in:
jopejoe1 2024-07-10 22:12:06 +02:00
parent 54f12d97dd
commit d83c996009
2 changed files with 42 additions and 23 deletions

View file

@ -6,25 +6,25 @@
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
hardware.nvidia.prime = {
offload.enable = false;
sync.enable = false;
hardware.nvidia = {
open = true;
prime = {
offload.enable = false;
sync.enable = false;
# Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA
intelBusId = "PCI:0:2:0";
# Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA
intelBusId = "PCI:0:2:0";
# Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA
nvidiaBusId = "PCI:1:0:0";
# Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA
nvidiaBusId = "PCI:1:0:0";
};
};
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelModules = [ "kvm-intel" "nouveau" ];
boot.extraModulePackages = [ ];
zramSwap.enable = true;
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/ec151a68-5886-4747-b5e3-2f9bdb89e162";