mirror of
https://github.com/nix-community/disko.git
synced 2026-12-04 06:53:28 +01:00
run nix-fmt
This commit is contained in:
1 parent
dd5cdd852c
commit
9de99e174c
1 file changed
+5
-4
+5
-4
@@ -6,10 +6,11 @@ let
|
|||||||
else if config.passwordFile != null
|
else if config.passwordFile != null
|
||||||
then ''<(echo -n "$(cat ${config.passwordFile})")''
|
then ''<(echo -n "$(cat ${config.passwordFile})")''
|
||||||
else if config.keyFile != null
|
else if config.keyFile != null
|
||||||
then lib.warn
|
then
|
||||||
("The option `keyFile` is deprecated."
|
lib.warn
|
||||||
+ "Use passwordFile instead if you want to use interactive login or settings.keyFile if you want to use key file login")
|
("The option `keyFile` is deprecated."
|
||||||
config.keyFile
|
+ "Use passwordFile instead if you want to use interactive login or settings.keyFile if you want to use key file login")
|
||||||
|
config.keyFile
|
||||||
else null;
|
else null;
|
||||||
keyFileArgs = ''\
|
keyFileArgs = ''\
|
||||||
${lib.optionalString (keyFile != null) "--key-file ${keyFile}"} \
|
${lib.optionalString (keyFile != null) "--key-file ${keyFile}"} \
|
||||||
|
|||||||
Reference in new issue
Block a user