Improve disko snippets

This commit is contained in:
Lauren Lagarde 2025-06-10 21:35:21 -05:00
parent fa5a7fd0e0
commit 4befc47285
8 changed files with 132 additions and 72 deletions

View file

@ -0,0 +1,13 @@
{ ... }: {
disko.devices.zpool.rpool = {
rootFsOptions = {
encryption = "aes-256-gcm";
keyformat = "passphrase";
keylocation = "prompt";
};
postCreateHook = ''
zfs set keylocation="prompt" rpool
'';
};
}