Get basic PoC up and running on mx.kaareskovgaard.net
Some checks failed
/ terraform-providers (push) Waiting to run
/ systems (push) Waiting to run
/ dev-shell (push) Successful in 1m36s
/ check (push) Has been cancelled
/ rust-packages (push) Has been cancelled

Now zpool-helper can create the zpool and datasets.

But there's no reconsiliation of existing zpools and datasets.

However everything gets encrypted as it should, and unlocked on boot.
This commit is contained in:
Kaare Hoff Skovgaard 2025-08-07 00:01:36 +02:00
parent 71b4792fdd
commit aaf4d1e5a3
Signed by: khs
GPG key ID: C7D890804F01E9F0
2 changed files with 4 additions and 3 deletions

View file

@ -12,11 +12,10 @@ let
{ name, value }:
let
enc = lib.strings.optionalString (!isTest) ''
\
--encryption-key-mount=${lib.escapeShellArg value.encryptionKeyOpenbao.mount} \
--encryption-key-name=${lib.escapeShellArg value.encryptionKeyOpenbao.name} \
--encryption-key-field=${lib.escapeShellArg value.encryptionKeyOpenbao.field} \
'';
--encryption-key-field=${lib.escapeShellArg value.encryptionKeyOpenbao.field}'';
in
''
${zpoolSetup} setup ${enc} \

View file

@ -7,6 +7,8 @@
crateName = "zpool-setup";
replacePath = true;
runtimeInputs = [
pkgs.openbao
pkgs.uutils-coreutils-noprefix
pkgs.zfs
];
}