diff --git a/modules/disko.nix b/modules/disko.nix index 2f6c7d9d..3a1789f7 100644 --- a/modules/disko.nix +++ b/modules/disko.nix @@ -108,8 +108,8 @@ in { type = "luks"; name = luksName; - # TODO: add password, otherwise prompt opens - keyFile = "/$PWD/keyFile"; + # trim potential new lines to not have them in the password + keyFile = "tr -d '\n'