kyra(hardening): tmpfs rootfs init
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
fbe9a78856
commit
d10e04e07c
1 changed files with 18 additions and 0 deletions
18
kyra/disko/nodev.nix
Normal file
18
kyra/disko/nodev.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
disko = {
|
||||
devices = {
|
||||
nodev = {
|
||||
"/" = {
|
||||
fsType = "tmpfs";
|
||||
mountOptions = [
|
||||
"size=1G"
|
||||
"mode=755"
|
||||
"nodev"
|
||||
"nosuid"
|
||||
"rw"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue