import all the keys
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
12555ebc3a
commit
164e86468d
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user