rove to luks

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-10-22 23:59:13 -04:00
parent bedef50435
commit e00d40fa55
3 changed files with 33 additions and 21 deletions

View File

@ -0,0 +1,32 @@
{ ... }:
{
boot.initrd.luks.devices = {
"nixos-pv" = {
device = "/dev/disk/by-uuid/l1H5s7-l3Tx-tDci-zgcx-iKPz-R7jg-Vnp8J2";
preLVM = true;
allowDiscards = true;
};
};
fileSystems = {
"/".options = [
"noatime"
"nodiratime"
"discard"
];
"/home".options = [
"noatime"
"nodiratime"
"discard"
];
"/boot".option = [
"noatime"
"nodiratime"
"discard"
];
};
}