This repository has no description
1.3 kB
44 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 krebs.power-action.battery = "BAT1";
25
26 networking.hostId = "deadbeef";
27
28 boot.loader.grub = {
29 enable = true;
30 device = "/dev/nvme0n1";
31 efiSupport = true;
32 efiInstallAsRemovable = true;
33 };
34
35 hardware.graphics.enable = true;
36 hardware.acpilight.enable = true;
37
38 boot.initrd.availableKernelModules = [
39 "nvme"
40 "thunderbolt"
41 "xhci_pci"
42 "usbhid"
43 ];
44}