zfs: add comments about secrets

This commit is contained in:
2025-08-25 00:39:01 -04:00
parent b9a7fe75db
commit b062f5d532

View File

@@ -4,10 +4,13 @@
...
}:
let
# DO NOT CHANGE
# path is set via a zfs property
zfs-key = "/etc/zfs-key";
in
{
system.activationScripts = {
# TODO! replace with proper secrets management
"zfs-key".text = ''
#!/bin/sh
rm -fr ${zfs-key} || true