diff options
author | Karel Kočí <cynerd@email.cz> | 2022-12-11 00:55:22 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-12-11 00:55:22 +0100 |
commit | 32faf3d514ca67ffadd712ef10ddf257020c83e1 (patch) | |
tree | b9bffb32aefbef7304efd86260f6d4d4da1d5673 /nixos | |
parent | 4770abebeed24cfbd7adc3f5d0083958eccb953f (diff) | |
download | nixos-personal-32faf3d514ca67ffadd712ef10ddf257020c83e1.tar.gz nixos-personal-32faf3d514ca67ffadd712ef10ddf257020c83e1.tar.bz2 nixos-personal-32faf3d514ca67ffadd712ef10ddf257020c83e1.zip |
nixos/generic: enable fwupd only for amd64
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/generic.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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; |