From d7baf6b6fc2070af4cc9d61ac612677899c636c8 Mon Sep 17 00:00:00 2001 From: chaos Date: Mon, 12 Aug 2024 17:01:18 +0100 Subject: [PATCH] only add crypto_simd on x86_64 --- modules/nixos/encryptedDriveMod/kernelModules.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/encryptedDriveMod/kernelModules.nix b/modules/nixos/encryptedDriveMod/kernelModules.nix index 2af91d8..e02073f 100644 --- a/modules/nixos/encryptedDriveMod/kernelModules.nix +++ b/modules/nixos/encryptedDriveMod/kernelModules.nix @@ -23,10 +23,10 @@ in { "hid_generic" # For Cryptography "cryptd" - "crypto_simd" (optionals (pkgs.system == "x86_64_linux") [ "aesni_intel" + "crypto_simd" ]) ]; };