Move common nix code one level up.
This commit is contained in:
9
common/unattended-encryption.nix
Normal file
9
common/unattended-encryption.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
boot.initrd.kernelModules = [ "usb_storage" ];
|
||||
boot.initrd.luks.devices."luksroot" = {
|
||||
allowDiscards = true;
|
||||
bypassWorkqueues = true;
|
||||
keyFileSize = 4096;
|
||||
keyFile = "/dev/sda";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user