From 01ec6024d655430f252263969a46a64c2833eeb4 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 10 Nov 2023 18:34:02 +0100 Subject: [PATCH] example lukgs-btrfs-subvolumes: fix passwordFile location --- example/luks-btrfs-subvolumes.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/example/luks-btrfs-subvolumes.nix b/example/luks-btrfs-subvolumes.nix index 509f5e9..9191570 100644 --- a/example/luks-btrfs-subvolumes.nix +++ b/example/luks-btrfs-subvolumes.nix @@ -24,11 +24,10 @@ content = { type = "luks"; name = "crypted"; + # disable settings.keyFile if you want to use interactive password entry + #passwordFile = "/tmp/secret.key"; # Interactive settings = { 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"; }; additionalKeyFiles = [ "/tmp/additionalSecret.key" ];