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.3 kB 42 lines
1{ self, modulesPath, ... }: 2{ 3 imports = [ 4 ./config.nix 5 (modulesPath + "/installer/scan/not-detected.nix") 6 ./disk.nix 7 self.inputs.nixos-hardware.nixosModules.framework-amd-ai-300-series 8 ]; 9 10 services.fprintd.enable = true; 11 services.fwupd.enable = true; 12 services.fwupd.extraRemotes = [ "lvfs-testing" ]; 13 # Might be necessary once to make the update succeed 14 # services.fwupd.uefiCapsuleSettings.DisableCapsuleUpdateOnDisk = true; 15 # we need fwupd 1.9.7 to downgrade the fingerprint sensor firmware 16 # we only need to downgrade the firmware once, so we can remove this once we have done that 17 # services.fwupd.package = (import (builtins.fetchTarball { 18 # url = "https://github.com/NixOS/nixpkgs/archive/bb2009ca185d97813e75736c2b8d1d8bb81bde05.tar.gz"; 19 # sha256 = "sha256:003qcrsq5g5lggfrpq31gcvj82lb065xvr7bpfa8ddsw8x4dnysk"; 20 # }) { 21 # inherit (pkgs) system; 22 # }).fwupd; 23 24 networking.hostId = "deadbeef"; 25 26 boot.loader.grub = { 27 enable = true; 28 device = "/dev/nvme0n1"; 29 efiSupport = true; 30 efiInstallAsRemovable = true; 31 }; 32 33 hardware.graphics.enable = true; 34 hardware.acpilight.enable = true; 35 36 boot.initrd.availableKernelModules = [ 37 "nvme" 38 "thunderbolt" 39 "xhci_pci" 40 "usbhid" 41 ]; 42}