diff options
author | aszlig <aszlig@nix.build> | 2018-12-24 09:45:34 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-12-24 09:54:29 +0100 |
commit | 77639725c66d44616396872c08187e568fbc3622 (patch) | |
tree | 1e97a009b5db8c9032f85c20c0842cc224f32a32 /machines | |
parent | 689ddbcf9a0a000db47033bd76c36185e66ce2b7 (diff) |
machines/dnyarri: Enable bcache kernel module
Since I got a new SSD for the machine (thanks @cvdnext), I also had the opportunity to re-create my LUKS containers to LUKS2 with Argon2 key derivation alongside creating bcache backing devices. The change in order to support bcache is just a matter of adding "bcache" to availableKernelModules and we're done. However, as the storage configuration is not a very common one, I decided to add a test specific to that to make sure future NixOS updates won't prevent the machine from booting. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines')
-rw-r--r-- | machines/aszlig/dnyarri.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix index e4c5e937..82ec5df7 100644 --- a/machines/aszlig/dnyarri.nix +++ b/machines/aszlig/dnyarri.nix @@ -31,6 +31,10 @@ let in { vuizvui.user.aszlig.profiles.workstation.enable = true; + vuizvui.requiresTests = [ + ["vuizvui" "aszlig" "dnyarri" "luks2-bcache"] + ]; + nix.maxJobs = 8; boot = { @@ -41,6 +45,7 @@ in { kernelPackages = pkgs.linuxPackages_latest; initrd = { + availableKernelModules = [ "bcache" ]; luks.devices = lib.singleton vaultDevice ++ lib.concatLists (lib.attrValues cryptDevices); postDeviceCommands = lib.mkAfter '' |