Optimize subvolume names
Signed-off-by: Tristan Druyen <tristan@vault81.de>
This commit is contained in:
parent
b1a2be5480
commit
46e80b8f3c
1 changed files with 5 additions and 4 deletions
|
@ -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"];
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue