kyra(hardening): ESP 1G->128M, LUKS2 volume and options hadrening
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
14eea58fbb
commit
72def65f54
1 changed files with 16 additions and 4 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
ESP = {
|
||||
name = "ESP";
|
||||
size = "1024M";
|
||||
size = "128M";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
|
|
@ -29,12 +29,23 @@
|
|||
mountpoint = "/boot";
|
||||
mountOptions = [
|
||||
"umask=0077"
|
||||
"noexec"
|
||||
"nosuid"
|
||||
"nodev"
|
||||
"ro"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
root = {
|
||||
luks = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "luks";
|
||||
name = "crypted";
|
||||
settings = {
|
||||
allowDiscards = true;
|
||||
};
|
||||
|
||||
content = {
|
||||
type = "lvm_pv";
|
||||
vg = "pool";
|
||||
|
|
@ -46,4 +57,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue