diff options
1 files changed, 9 insertions, 2 deletions
| -rw-r--r-- | machines/vesta/configuration.nix | 11 |
diff --git a/machines/vesta/configuration.nix b/machines/vesta/configuration.nix index a50c6c5..fd671d5 100644 --- a/machines/vesta/configuration.nix +++ b/machines/vesta/configuration.nix @@ -9,7 +9,10 @@ fsType = "ext4"; }; - environment.systemPackages = with pkgs; [ alsa-plugins ]; + environment.systemPackages = with pkgs; [ + alsa-plugins + radeontop + ]; # https://github.com/NixOS/nixpkgs/issues/6860 environment.sessionVariables = { @@ -18,7 +21,6 @@ # GPU boot.initrd.kernelModules = [ "amdgpu" ]; - services.xserver.enable = true; services.xserver.videoDrivers = [ "amdgpu" ]; # for Southern Islands (SI ie. GCN 1) cards boot.kernelParams = [ "radeon.si_support=0" "amdgpu.si_support=1" ]; @@ -26,11 +28,16 @@ "L+ /opt/rocm/hip - - - - ${pkgs.hip}" ]; hardware.opengl = { + # Mesa enable = true; + + # OpenCL extraPackages = with pkgs; [ rocm-opencl-icd rocm-opencl-runtime ]; + + # Vulkan driSupport = true; # For 32 bit applications driSupport32Bit = true; |
