Merge pull request #194530 from colemickens/stage-1-systemd-luksroot-toString-fix

nixos: luksroot: toString-ify keyFileSize usage

authored by Robert Hensing and committed by GitHub 129fd1ab 3cb43544

+2 -2
+2 -2
nixos/modules/system/boot/luksroot.nix
··· 481 481 ++ optional v.allowDiscards "discard" 482 482 ++ optionals v.bypassWorkqueues [ "no-read-workqueue" "no-write-workqueue" ] 483 483 ++ optional (v.header != null) "header=${v.header}" 484 - ++ optional (v.keyFileOffset != null) "keyfile-offset=${v.keyFileOffset}" 485 - ++ optional (v.keyFileSize != null) "keyfile-size=${v.keyFileSize}" 484 + ++ optional (v.keyFileOffset != null) "keyfile-offset=${toString v.keyFileOffset}" 485 + ++ optional (v.keyFileSize != null) "keyfile-size=${toString v.keyFileSize}" 486 486 ; 487 487 in "${n} ${v.device} ${if v.keyFile == null then "-" else v.keyFile} ${lib.concatStringsSep "," opts}") luks.devices)); 488 488