zfs: add comments about secrets
This commit is contained in:
parent
8d5ee69e55
commit
62a5a2b984
3
zfs.nix
3
zfs.nix
@ -4,10 +4,13 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
# DO NOT CHANGE
|
||||||
|
# path is set via a zfs property
|
||||||
zfs-key = "/etc/zfs-key";
|
zfs-key = "/etc/zfs-key";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
system.activationScripts = {
|
system.activationScripts = {
|
||||||
|
# TODO! replace with proper secrets management
|
||||||
"zfs-key".text = ''
|
"zfs-key".text = ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
rm -fr ${zfs-key} || true
|
rm -fr ${zfs-key} || true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user