This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / machines / ignavia / physical.nix
1.9 kB 60 lines
1{ 2 self, 3 modulesPath, 4 pkgs, 5 lib, 6 ... 7}: 8{ 9 imports = [ 10 ./config.nix 11 (modulesPath + "/installer/scan/not-detected.nix") 12 ./disk.nix 13 self.inputs.nixos-hardware.nixosModules.framework-amd-ai-300-series 14 ]; 15 16 services.fprintd.enable = true; 17 services.fwupd.enable = true; 18 services.fwupd.extraRemotes = [ "lvfs-testing" ]; 19 # Might be necessary once to make the update succeed 20 # services.fwupd.uefiCapsuleSettings.DisableCapsuleUpdateOnDisk = true; 21 # we need fwupd 1.9.7 to downgrade the fingerprint sensor firmware 22 # we only need to downgrade the firmware once, so we can remove this once we have done that 23 # services.fwupd.package = (import (builtins.fetchTarball { 24 # url = "https://github.com/NixOS/nixpkgs/archive/bb2009ca185d97813e75736c2b8d1d8bb81bde05.tar.gz"; 25 # sha256 = "sha256:003qcrsq5g5lggfrpq31gcvj82lb065xvr7bpfa8ddsw8x4dnysk"; 26 # }) { 27 # inherit (pkgs) system; 28 # }).fwupd; 29 30 networking.hostId = "deadbeef"; 31 32 boot.loader.grub = { 33 enable = true; 34 device = "/dev/nvme0n1"; 35 efiSupport = true; 36 efiInstallAsRemovable = true; 37 }; 38 39 hardware.graphics.enable = true; 40 hardware.acpilight.enable = true; 41 42 # Use latest kernel (7.0) for better Strix Point GPU support 43 boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; 44 45 # Disable MES (Micro Engine Scheduler) - known to cause GPU ring hangs on RDNA3+ 46 # The hang manifests as: screen goes off 1-2s, comes back but frozen 47 boot.kernelParams = [ "amdgpu.mes=0" ]; 48 49 # iwlwifi (Intel AX210) crashes after suspend with 0x5A5A5A5A in all registers 50 # (PCIe device doesn't come back from low-power state) 51 # enable_ini=0 disables the new UEFI-style firmware loading which fails on resume 52 boot.extraModprobeConfig = "options iwlwifi enable_ini=0"; 53 54 boot.initrd.availableKernelModules = [ 55 "nvme" 56 "thunderbolt" 57 "xhci_pci" 58 "usbhid" 59 ]; 60}