This commit is contained in:
iFargle 2023-09-22 18:05:38 +09:00
parent 7aa998b8f1
commit ffb55811e5

View file

@ -29,18 +29,10 @@
end = "100%";
content = {
type = "luks";
name = "LUKS-ROOT";
extraOpenArgs = [ "--allow-discards" ];
settings.keyFile = "/tmp/secret.key";
name = "ROOT";
content = {
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"@" = {
mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" ];
}; # root
}; # subvolumes
type = "filesystem";
format = "ext4";
}; # content.content
}; # content
} # partition 2