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" ];
settings.keyFile = "/tmp/secret.key";
content = {
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"/root" = {
mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" ];
}; # root
"/home" = {
mountpoint = "/home";
mountOptions = [ "compress=zstd" "noatime" ];
}; # home
"/nix" = {
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ];
}; # nix
}; # subvolumes
type = "filesystem";
format = "ext4";
mountpoint = "/";
}; # content.content
}; # content
} # partition 2