From ffa71144cc81c3496f8ec2c9adb59ebbf578a93c Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Thu, 18 Jan 2024 03:04:56 +0100 Subject: [PATCH] Attempt to make zfs not load keys for root --- hosts/nixos/lapetus/filesystems/zfs.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/nixos/lapetus/filesystems/zfs.nix b/hosts/nixos/lapetus/filesystems/zfs.nix index 88db873..1a8ddcb 100644 --- a/hosts/nixos/lapetus/filesystems/zfs.nix +++ b/hosts/nixos/lapetus/filesystems/zfs.nix @@ -5,6 +5,7 @@ in # Configure ZFS boot.supportedFilesystems = [ "zfs" ]; boot.zfs.extraPools = [ "zroot" ]; + boot.zfs.requestEncryptionCredentials = [ "secure" ]; boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelParams = [ "nohibernate" ];