mirror of
https://github.com/nix-community/disko.git
synced 2024-09-17 09:37:17 +03:00
example lukgs-btrfs-subvolumes: fix passwordFile location
This commit is contained in:
parent
89fd5b51f0
commit
01ec6024d6
@ -24,11 +24,10 @@
|
|||||||
content = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
name = "crypted";
|
name = "crypted";
|
||||||
|
# disable settings.keyFile if you want to use interactive password entry
|
||||||
|
#passwordFile = "/tmp/secret.key"; # Interactive
|
||||||
settings = {
|
settings = {
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
# if you want to use the key for interactive login be sure there is no trailing newline
|
|
||||||
# for example use `echo -n "password" > /tmp/secret.key`
|
|
||||||
#passwordFile = "/tmp/secret.key"; # Interactive
|
|
||||||
keyFile = "/tmp/secret.key";
|
keyFile = "/tmp/secret.key";
|
||||||
};
|
};
|
||||||
additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
|
additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user