From dedff3809b3d0bca1ad309cfb6e7648b029485f4 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 28 Mar 2021 00:24:28 +0100 Subject: Move more things from core to desktop, and add iso file --- pc_t14.nix | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'pc_t14.nix') diff --git a/pc_t14.nix b/pc_t14.nix index fa536f0..489b67d 100644 --- a/pc_t14.nix +++ b/pc_t14.nix @@ -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 -- cgit v1.2.3