summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorBernardo Meurer <bernardo@meurer.org>2020-12-26 21:37:26 +0000
committerGitHub <noreply@github.com>2020-12-26 21:37:26 +0000
commitc4c899d3ef1ed21ad62481e715abda491a83ad96 (patch)
tree1f239e387fb98763d1ea2de8881df99279f1ed5d /nixos
parent71af942b6867e32ea590e51b3df7c18dce18f6d4 (diff)
parentd42e2cc24e846f1c8d81774f14098a448cf361c6 (diff)
downloadnixpkgs-c4c899d3ef1ed21ad62481e715abda491a83ad96.tar
nixpkgs-c4c899d3ef1ed21ad62481e715abda491a83ad96.tar.gz
nixpkgs-c4c899d3ef1ed21ad62481e715abda491a83ad96.tar.bz2
nixpkgs-c4c899d3ef1ed21ad62481e715abda491a83ad96.tar.lz
nixpkgs-c4c899d3ef1ed21ad62481e715abda491a83ad96.tar.xz
nixpkgs-c4c899d3ef1ed21ad62481e715abda491a83ad96.tar.zst
nixpkgs-c4c899d3ef1ed21ad62481e715abda491a83ad96.zip
Merge pull request #107613 from davidak/bcachefs-sha256
bcachefs: add sha256 kernel module
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/tasks/filesystems/bcachefs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/tasks/filesystems/bcachefs.nix b/nixos/modules/tasks/filesystems/bcachefs.nix
index 5fda24adb97..ac41ba5f93a 100644
--- a/nixos/modules/tasks/filesystems/bcachefs.nix
+++ b/nixos/modules/tasks/filesystems/bcachefs.nix
@@ -49,8 +49,8 @@ in
     }
 
     (mkIf ((elem "bcachefs" config.boot.initrd.supportedFilesystems) || (bootFs != {})) {
-      # the cryptographic modules are required only for decryption attempts
-      boot.initrd.availableKernelModules = [ "bcachefs" "chacha20" "poly1305" ];
+      # chacha20 and poly1305 are required only for decryption attempts
+      boot.initrd.availableKernelModules = [ "bcachefs" "sha256" "chacha20" "poly1305" ];
 
       boot.initrd.extraUtilsCommands = ''
         copy_bin_and_libs ${pkgs.bcachefs-tools}/bin/bcachefs