{ config, pkgs, ... }: { networking = { hostName = "nixT14s"; interfaces.enp2s0f0.useDHCP = true; interfaces.wlp3s0.useDHCP = true; }; boot = { kernelPackages = pkgs.linuxPackages_latest; loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; efi.efiSysMountPoint = "/boot"; }; initrd.luks.devices = { lvmroot = { device = "/dev/disk/by-uuid/3aa2923c-928d-4050-82dc-21be53b2af8e"; preLVM = true; }; }; initrd.kernelModules = [ "amdgpu" ]; }; hardware = { acpilight.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 ]; }