Skip to content

Commit

Permalink
btrfs-luks
Browse files Browse the repository at this point in the history
  • Loading branch information
erictossell committed Apr 4, 2024
1 parent ec0303e commit e490460
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions sh/btrfs-luks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
type = "luks";
name = "crypted";
# disable settings.keyFile if you want to use interactive password entry
passwordFile = "/tmp/secret.key"; # Interactive
settings = {
allowDiscards = true;
#keyFile = "/tmp/secret.key";
};
additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
# passwordFile = "/tmp/secret.key"; # Interactive
# settings = {
# allowDiscards = true;
# keyFile = "/tmp/secret.key";
#};
#additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
content = {
type = "btrfs";
extraArgs = [ "-f" ];
Expand Down Expand Up @@ -61,3 +61,4 @@
};
};
}

0 comments on commit e490460

Please sign in to comment.