From b047d2297d1e690b7fd529d3fb07a61d604423f9 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sat, 22 Mar 2025 20:21:48 +0100 Subject: [PATCH] perso-desktop: Use amdgpu --- hosts/perso-desktop/configuration.nix | 2 +- modules/system/hardware/graphics/amdgpu.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/perso-desktop/configuration.nix b/hosts/perso-desktop/configuration.nix index b089d20..4e83732 100644 --- a/hosts/perso-desktop/configuration.nix +++ b/hosts/perso-desktop/configuration.nix @@ -47,7 +47,7 @@ bluetooth.enable = true; gamingKernel.enable = true; keymaps.layout = "us"; - graphics.nvidia.enable = true; + graphics.amdgpu.enable = true; audio.pipewire.enable = true; printing.enable = true; }; diff --git a/modules/system/hardware/graphics/amdgpu.nix b/modules/system/hardware/graphics/amdgpu.nix index 0632943..803a73c 100644 --- a/modules/system/hardware/graphics/amdgpu.nix +++ b/modules/system/hardware/graphics/amdgpu.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ config, lib, pkgs, ... }: with lib; let