summaryrefslogtreecommitdiff
path: root/hosts/toaster/amd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/toaster/amd.nix')
-rw-r--r--hosts/toaster/amd.nix23
1 files changed, 12 insertions, 11 deletions
diff --git a/hosts/toaster/amd.nix b/hosts/toaster/amd.nix
index 01eb155..66a93e6 100644
--- a/hosts/toaster/amd.nix
+++ b/hosts/toaster/amd.nix
@@ -1,4 +1,5 @@
-{ pkgs, config, ... }: {
+{ pkgs, config, ... }:
+{
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelParams = [
@@ -6,14 +7,14 @@
"amd_pstate=active"
];
- # hardware.graphics = {
- # extraPackages = with pkgs; [
- # rocm-opencl-icd
- # rocm-opencl-runtime
- # amdvlk
- # ];
- # extraPackages32 = with pkgs; [
- # driversi686Linux.amdvlk
- # ];
- # };
+ # hardware.graphics = {
+ # extraPackages = with pkgs; [
+ # rocm-opencl-icd
+ # rocm-opencl-runtime
+ # amdvlk
+ # ];
+ # extraPackages32 = with pkgs; [
+ # driversi686Linux.amdvlk
+ # ];
+ # };
}