This commit is contained in:
iFargle 2024-01-31 19:43:40 +09:00
parent e3719a907f
commit 8743b39c8d

View file

@ -9,10 +9,19 @@
# ../../common/modules/boot.nix
../../common/modules/udev-rules.nix
../../common/modules/ssh-luks.nix
../../common/services/fwupd.nix
# ../../common/services/fwupd.nix
../../common/services/tlp.nix
];
services.fwupd.enable = true;
# we need fwupd 1.9.7 to downgrade the fingerprint sensor firmware
services.fwupd.package = (import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/bb2009ca185d97813e75736c2b8d1d8bb81bde05.tar.gz";
sha256 = "sha256:003qcrsq5g5lggfrpq31gcvj82lb065xvr7bpfa8ddsw8x4dnysk";
}) {
inherit (pkgs) system;
}).fwupd;
powerManagement.enable = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" ];