run nix-fmt

This commit is contained in:
Jörg Thalheim committed 2023-09-02 18:08:41 +02:00
1 parent dd5cdd852c
commit 9de99e174c
2 files changed
+6 -5

No files matched your search

+5 -4
View File
@@ -6,10 +6,11 @@ let
else if config.passwordFile != null
then ''<(echo -n "$(cat ${config.passwordFile})")''
else if config.keyFile != null
then lib.warn
("The option `keyFile` is deprecated."
+ "Use passwordFile instead if you want to use interactive login or settings.keyFile if you want to use key file login")
config.keyFile
then
lib.warn
("The option `keyFile` is deprecated."
+ "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;
keyFileArgs = ''\
${lib.optionalString (keyFile != null) "--key-file ${keyFile}"} \
+1 -1
View File
@@ -60,7 +60,7 @@
readOnly = true;
default =
[
(if lib.versionAtLeast (lib.versions.majorMinor lib.version) "23.11" then {
(if lib.versionAtLeast (lib.versions.majorMinor lib.version) "23.11" then {
boot.swraid.enable = true;
} else {
boot.initrd.services.swraid.enable = true;