Skip to content

Commit

Permalink
Merge pull request #275105 from SuperSandro2000/initrd-crypttab
Browse files Browse the repository at this point in the history
nixos/luksroot: add final newline to /etc/crypttab
  • Loading branch information
ElvishJerricco authored Dec 19, 2023
2 parents b25b7d9 + 8c58a7c commit 4aeb82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/luksroot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ let
postLVM = filterAttrs (n: v: !v.preLVM) luks.devices;


stage1Crypttab = pkgs.writeText "initrd-crypttab" (lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: let
stage1Crypttab = pkgs.writeText "initrd-crypttab" (lib.concatLines (lib.mapAttrsToList (n: v: let
opts = v.crypttabExtraOpts
++ optional v.allowDiscards "discard"
++ optionals v.bypassWorkqueues [ "no-read-workqueue" "no-write-workqueue" ]
Expand Down

0 comments on commit 4aeb82a

Please sign in to comment.