From e5b59ce92475c5baefbd62d26555c031aae2b163 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Thu, 18 Jan 2024 02:33:59 +0100 Subject: [PATCH] Fix lapetus partition options for /secure --- hosts/nixos/lapetus/filesystems/partitions.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hosts/nixos/lapetus/filesystems/partitions.nix b/hosts/nixos/lapetus/filesystems/partitions.nix index 2308197..0e6cab0 100644 --- a/hosts/nixos/lapetus/filesystems/partitions.nix +++ b/hosts/nixos/lapetus/filesystems/partitions.nix @@ -57,9 +57,12 @@ # {{{ Datasets datasets = { "secure" = { - encryption = "aes-256-gcm"; - keyformat = "passphrase"; - keylocation = "file:///hermes/secrets/lapetus/disk.key"; + type = "zfs_fs"; + options = { + encryption = "aes-256-gcm"; + keyformat = "passphrase"; + keylocation = "file:///hermes/secrets/lapetus/disk.key"; + }; }; "secure/persist/data" = { type = "zfs_fs";