GPU: Enable AMD specific stuff
This commit is contained in:
@@ -64,6 +64,7 @@
|
|||||||
git
|
git
|
||||||
cifs-utils # required for network mounting the NAS
|
cifs-utils # required for network mounting the NAS
|
||||||
age
|
age
|
||||||
|
rocmPackages.amdsmi
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
|
|||||||
@@ -31,14 +31,19 @@
|
|||||||
#TODO: add external hdd, nas, and ssd
|
#TODO: add external hdd, nas, and ssd
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{device = "/dev/disk/by-uuid/40b22e5b-839d-4189-93e7-246407cc76c7";}
|
{ device = "/dev/disk/by-uuid/40b22e5b-839d-4189-93e7-246407cc76c7"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
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.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
hardware.graphics.extraPackages = [pkgs.rocmPackages.clr.icd];
|
hardware.graphics.extraPackages = [ pkgs.rocmPackages.clr.icd ];
|
||||||
|
|
||||||
|
hardware.amdgpu = {
|
||||||
|
initrd.enable = true;
|
||||||
|
opencl.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ top @ { config
|
|||||||
xdg-user-dirs
|
xdg-user-dirs
|
||||||
hyprpicker
|
hyprpicker
|
||||||
libqalculate
|
libqalculate
|
||||||
btop
|
btop-rocm
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
prismlauncher
|
prismlauncher
|
||||||
playerctl
|
playerctl
|
||||||
|
|||||||
Reference in New Issue
Block a user