From 32faf3d514ca67ffadd712ef10ddf257020c83e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 11 Dec 2022 00:55:22 +0100 Subject: nixos/generic: enable fwupd only for amd64 --- nixos/modules/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules') diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix index 676df77..121133f 100644 --- a/nixos/modules/generic.nix +++ b/nixos/modules/generic.nix @@ -38,7 +38,7 @@ in { boot.kernelPackages = mkOverride 1100 pkgs.linuxPackages_latest; boot.kernelParams = ["boot.shell_on_fail"]; hardware.enableAllFirmware = true; - services.fwupd.enable = true; + services.fwupd.enable = mkIf (pkgs.system == "x86_64-linux") true; nixpkgs.config.allowUnfree = true; -- cgit v1.2.3