diff options
Diffstat (limited to 'pc_t14.nix')
-rw-r--r-- | pc_t14.nix | 23 |
1 files changed, 21 insertions, 2 deletions
@@ -23,11 +23,30 @@ }; }; + initrd.kernelModules = [ "amdgpu" ]; }; - hardware.acpilight.enable = true; + hardware = { + acpilight.enable = true; - services.tlp.enable = true; + opengl = { + driSupport = true; + driSupport32Bit = true; + + extraPackages = with pkgs; [ + amdvlk + ]; + + extraPackages32 = with pkgs; [ + driversi686Linux.amdvlk + ]; + }; + }; + + services = { + tlp.enable = true; + xserver.videoDrivers = ["amdgpu"]; + }; environment.systemPackages = with pkgs; [ linuxPackages.acpi_call |