diff --git a/disko.nix b/disko.nix index 51f9312..5f01d69 100644 --- a/disko.nix +++ b/disko.nix @@ -76,6 +76,7 @@ passwordFile = "/tmp/secret.key"; additionalKeyFiles = []; content = { + # this partiton needs to be in the last parent part alphabetically to ensure the referenced /crypted_0 dev already exists type = "btrfs"; extraArgs = [ "-L btrfs_vault" @@ -85,15 +86,15 @@ "/dev/mapper/crypted_0" ]; subvolumes = { - "/root" = { + "/_active/root" = { mountpoint = "/"; mountOptions = ["compress=zstd" "noatime"]; }; - "/home" = { + "/_active/home" = { mountpoint = "/home"; - mountOptions = ["compress=zstd" "noatime"]; + mountOptions = ["compress=zstd" "relatime"]; }; - "/nix" = { + "/_active/nix" = { mountpoint = "/nix"; mountOptions = ["compress=zstd" "noatime"]; };