test
This commit is contained in:
parent
e3719a907f
commit
8743b39c8d
1 changed files with 10 additions and 1 deletions
|
@ -9,10 +9,19 @@
|
||||||
# ../../common/modules/boot.nix
|
# ../../common/modules/boot.nix
|
||||||
../../common/modules/udev-rules.nix
|
../../common/modules/udev-rules.nix
|
||||||
../../common/modules/ssh-luks.nix
|
../../common/modules/ssh-luks.nix
|
||||||
../../common/services/fwupd.nix
|
# ../../common/services/fwupd.nix
|
||||||
../../common/services/tlp.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;
|
powerManagement.enable = true;
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" ];
|
||||||
|
|
Loading…
Reference in a new issue