summaryrefslogtreecommitdiff
path: root/pc_t14.nix
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-03-28 00:24:28 +0100
committerJulian T <julian@jtle.dk>2021-03-28 00:24:28 +0100
commitdedff3809b3d0bca1ad309cfb6e7648b029485f4 (patch)
tree2c56d1e81e11396e09d27efeb56b08cbf4a33061 /pc_t14.nix
parentea6c7b65ba32b4be09ef4c7a8532b239c03f120d (diff)
Move more things from core to desktop, and add iso file
Diffstat (limited to 'pc_t14.nix')
-rw-r--r--pc_t14.nix23
1 files changed, 21 insertions, 2 deletions
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