import all the keys

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-08-24 00:48:40 -04:00
parent f106d649a4
commit e2f32e1d3c
No known key found for this signature in database
GPG Key ID: 47940175096C1330

View File

@ -1,9 +1,12 @@
{ lib, ... }:
{ lib, pkgs, ... }:
{
boot.zfs.requestEncryptionCredentials = lib.mkForce false;
boot.initrd = {
boot = {
zfs.requestEncryptionCredentials = lib.mkForce false;
postBootCommands = ''
${pkgs.zfs}/bin/zfs load-key -a
'';
initrd = {
services.lvm.enable = true;
luks.devices = {
"nixos-pv" = {
@ -33,6 +36,7 @@
load_zfs_nix
'';
};
};
fileSystems = {
"/".options = [