Test
This commit is contained in:
parent
7aa998b8f1
commit
ffb55811e5
1 changed files with 3 additions and 11 deletions
|
@ -29,18 +29,10 @@
|
||||||
end = "100%";
|
end = "100%";
|
||||||
content = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
name = "LUKS-ROOT";
|
name = "ROOT";
|
||||||
extraOpenArgs = [ "--allow-discards" ];
|
|
||||||
settings.keyFile = "/tmp/secret.key";
|
|
||||||
content = {
|
content = {
|
||||||
type = "btrfs";
|
type = "filesystem";
|
||||||
extraArgs = [ "-f" ];
|
format = "ext4";
|
||||||
subvolumes = {
|
|
||||||
"@" = {
|
|
||||||
mountpoint = "/";
|
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
|
||||||
}; # root
|
|
||||||
}; # subvolumes
|
|
||||||
}; # content.content
|
}; # content.content
|
||||||
}; # content
|
}; # content
|
||||||
} # partition 2
|
} # partition 2
|
||||||
|
|
Loading…
Reference in a new issue