import all the keys
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
f106d649a4
commit
e2f32e1d3c
@ -1,9 +1,12 @@
|
|||||||
{ lib, ... }:
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
boot.zfs.requestEncryptionCredentials = lib.mkForce false;
|
boot = {
|
||||||
|
zfs.requestEncryptionCredentials = lib.mkForce false;
|
||||||
boot.initrd = {
|
postBootCommands = ''
|
||||||
|
${pkgs.zfs}/bin/zfs load-key -a
|
||||||
|
'';
|
||||||
|
initrd = {
|
||||||
services.lvm.enable = true;
|
services.lvm.enable = true;
|
||||||
luks.devices = {
|
luks.devices = {
|
||||||
"nixos-pv" = {
|
"nixos-pv" = {
|
||||||
@ -33,6 +36,7 @@
|
|||||||
load_zfs_nix
|
load_zfs_nix
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/".options = [
|
"/".options = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user