hardware params

This commit is contained in:
2025-04-20 17:23:56 +03:00
parent a852d18579
commit a2e8ca3af3
2 changed files with 6 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
}; };
}; };
boot.kernelPackages = pkgs.linuxPackages_6_10; boot.kernelPackages = pkgs.linuxPackages_6_12;
# boot.kernelPatches = [ # boot.kernelPatches = [
# { # {
# name = "amd-drm-glitch-fix"; # name = "amd-drm-glitch-fix";
@@ -36,7 +36,7 @@
# }); # });
# } # }
# ]; # ];
boot.kernelParams = ["amd_pstate=active"]; boot.kernelParams = ["amd_pstate=active" "iommu=relaxed"];
boot.supportedFilesystems = ["ntfs"]; boot.supportedFilesystems = ["ntfs"];
networking.hostName = "nixos"; # Define your hostname. networking.hostName = "nixos"; # Define your hostname.

View File

@@ -35,4 +35,8 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.amd.ryzen-smu.enable = true;
# to enable gamepads
hardware.steam-hardware.enable = true;
} }