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";
|
passwordFile = "/tmp/secret.key";
|
||||||
additionalKeyFiles = [];
|
additionalKeyFiles = [];
|
||||||
content = {
|
content = {
|
||||||
|
# this partiton needs to be in the last parent part alphabetically to ensure the referenced /crypted_0 dev already exists
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
extraArgs = [
|
extraArgs = [
|
||||||
"-L btrfs_vault"
|
"-L btrfs_vault"
|
||||||
|
@ -85,15 +86,15 @@
|
||||||
"/dev/mapper/crypted_0"
|
"/dev/mapper/crypted_0"
|
||||||
];
|
];
|
||||||
subvolumes = {
|
subvolumes = {
|
||||||
"/root" = {
|
"/_active/root" = {
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
mountOptions = ["compress=zstd" "noatime"];
|
||||||
};
|
};
|
||||||
"/home" = {
|
"/_active/home" = {
|
||||||
mountpoint = "/home";
|
mountpoint = "/home";
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
mountOptions = ["compress=zstd" "relatime"];
|
||||||
};
|
};
|
||||||
"/nix" = {
|
"/_active/nix" = {
|
||||||
mountpoint = "/nix";
|
mountpoint = "/nix";
|
||||||
mountOptions = ["compress=zstd" "noatime"];
|
mountOptions = ["compress=zstd" "noatime"];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue