about summary refs log tree commit diff
path: root/machines/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-04-01 17:12:04 +0200
committeraszlig <aszlig@nix.build>2022-04-01 17:12:04 +0200
commit4abc84e1bc210ee4f0611c552d2e2db7bf194fb1 (patch)
tree753132a56f988ceb66fe167b5d0844a240a5efd9 /machines/aszlig
parent4373bf23bde56d45aa76c61986d4584358739b60 (diff)
machines/tishtushi: Add xxhash to available mods
I created the BTRFS module with a few different options than I did
initially, one of them is that I changed the checksum algorithm to
XXHASH.

Unfortunately, the xxhash_generic module providing the algorithm is not
available during stage 1, so mounting the volume would fail.

In the local configuration.nix I already added it to
availableKernelModules, but when I moved the config over to Vuizvui in
e04c7e04f2fe63cece7a2f2064212bc055cdd035, I forgot to add it.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig')
-rw-r--r--machines/aszlig/tishtushi.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/machines/aszlig/tishtushi.nix b/machines/aszlig/tishtushi.nix
index 8a7977b1..ffe2c1f5 100644
--- a/machines/aszlig/tishtushi.nix
+++ b/machines/aszlig/tishtushi.nix
@@ -12,6 +12,7 @@
     timeout = 1;
   };
 
+  boot.initrd.availableKernelModules = [ "xxhash_generic" ];
   boot.initrd.luks.devices = {
     tishtushi-swap = {
       device = "/dev/disk/by-uuid/db144d14-9268-4f12-a421-e9c41fc207a3";