nvidia fix m3-ares
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
@@ -13,7 +9,6 @@
|
||||
|
||||
specialisation = {
|
||||
"NVIDIA".configuration = {
|
||||
boot.kernelParams = ["nvidia.NVreg_PreserveVideoMemoryAllocations=1"];
|
||||
system.nixos.tags = ["NVIDIA"];
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
@@ -31,6 +26,8 @@
|
||||
options kvm_intel emulate_invalid_guest_state=0
|
||||
options kvm ignore_msrs=1
|
||||
'';
|
||||
boot.blacklistedKernelModules = ["nova_core"];
|
||||
# CRITICAL FIX #4: Kernel parameters to prevent nouveau from loading early
|
||||
|
||||
networking.hostName = "m3-ares"; # Define your hostname.
|
||||
# warp-terminal update fix
|
||||
|
||||
Reference in New Issue
Block a user