diff --git a/hosts/lavaridge/default.nix b/hosts/lavaridge/default.nix index 2344d803..5d102723 100644 --- a/hosts/lavaridge/default.nix +++ b/hosts/lavaridge/default.nix @@ -20,7 +20,17 @@ networking.hostName = "lavaridge"; # Define your hostname. powerManagement.powertop.enable = true; - services.fwupd.enable = true; + + { + 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; + } # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions