hardware params
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user