This commit is contained in:
iFargle 2023-09-22 17:42:08 +09:00
parent fc536455c1
commit d5546077e7

View file

@ -33,22 +33,9 @@
extraOpenArgs = [ "--allow-discards" ]; extraOpenArgs = [ "--allow-discards" ];
settings.keyFile = "/tmp/secret.key"; settings.keyFile = "/tmp/secret.key";
content = { content = {
type = "btrfs"; type = "filesystem";
extraArgs = [ "-f" ]; format = "ext4";
subvolumes = { mountpoint = "/";
"/root" = {
mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" ];
}; # root
"/home" = {
mountpoint = "/home";
mountOptions = [ "compress=zstd" "noatime" ];
}; # home
"/nix" = {
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ];
}; # nix
}; # subvolumes
}; # content.content }; # content.content
}; # content }; # content
} # partition 2 } # partition 2