Skip to content

Commit

Permalink
Use amdgpu driver
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jan 25, 2024
1 parent c1c8721 commit 5c9cf37
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions hosts/zeus/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,9 @@ in {
programs.gamemode.enable = true;

# Add opengl/vulkan support
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
libva
];
};
hardware.opengl.extraPackages = with pkgs; [
libva
];

hardware.pulseaudio.daemon.config = {
default-sample-format = "float32le";
Expand All @@ -96,14 +91,16 @@ in {

xrandrHeads = [
{
output = "DP-1";
output = "DisplayPort-0";
primary = true;
monitorConfig = ''
Modeline "3440x1440_144.00" 1086.75 3440 3744 4128 4816 1440 1443 1453 1568 -hsync +vsync
Option "PreferredMode" "3440x1440_144.00"
'';
}
];

videoDrivers = ["amdgpu"];
};

environment.systemPackages = lib.flatten [
Expand Down

0 comments on commit 5c9cf37

Please sign in to comment.