zfs: add comments about secrets

This commit is contained in:
Simon Gardling 2025-08-25 00:39:01 -04:00
parent 8d5ee69e55
commit 62a5a2b984
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

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