Lots more moves, simplifiactions to options and removed code that peeved me off
This commit is contained in:
parent
2d2c569705
commit
384e510647
25 changed files with 59 additions and 76 deletions
|
@ -19,12 +19,14 @@ in {
|
|||
kernelPackages = pkgsUnstable.linuxPackages_xanmod_stable;
|
||||
kernelParams = commonKernelParams ++ [ "vfio-pci.ids=10de:1f82,10de:10fa" ];
|
||||
|
||||
# Needed for GPU passthrough
|
||||
# Load into GPU before NVIDIA driver
|
||||
initrd.kernelModules = [
|
||||
"vfio"
|
||||
"vfio_pci"
|
||||
"vfio_iommu_type1"
|
||||
];
|
||||
|
||||
lanzaboote.enable = true;
|
||||
};
|
||||
|
||||
# Use second GPU on boot
|
||||
|
@ -35,8 +37,7 @@ in {
|
|||
|
||||
# Use Nouveau
|
||||
specialisation.nouveau.configuration.config = {
|
||||
system.video.nvidia.enable = lib.mkForce false;
|
||||
system.video.nouveau.enable = lib.mkForce true;
|
||||
system.nvidia.enable = lib.mkForce false;
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = lib.mkForce "";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue