mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
run nix-fmt
This commit is contained in:
1 parent
dd5cdd852c
commit
9de99e174c
2 files changed
+6
-5
No files matched your search
+5
-4
@@ -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
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user