Make home-manager config for ll-latitude-e5591 build again
This commit is contained in:
parent
478d31081a
commit
83a6b1c73c
78 changed files with 236 additions and 426 deletions
13
nixos/disko/libvirt/zfs-encrypted.nix
Normal file
13
nixos/disko/libvirt/zfs-encrypted.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ ... }: {
|
||||
disko.devices.zpool.rpool = {
|
||||
rootFsOptions = {
|
||||
encryption = "aes-256-gcm";
|
||||
keyformat = "passphrase";
|
||||
|
||||
keylocation = "prompt";
|
||||
};
|
||||
postCreateHook = ''
|
||||
zfs set keylocation="prompt" rpool
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue