diff options
Diffstat (limited to 'nixos/modules/tasks/filesystems/xfs.nix')
-rw-r--r-- | nixos/modules/tasks/filesystems/xfs.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/xfs.nix b/nixos/modules/tasks/filesystems/xfs.nix index f81f58646551..76f31e660ad3 100644 --- a/nixos/modules/tasks/filesystems/xfs.nix +++ b/nixos/modules/tasks/filesystems/xfs.nix @@ -26,5 +26,7 @@ in '' sed -i -e 's,^#!.*,#!'$out/bin/sh, $out/bin/fsck.xfs ''; + + boot.initrd.systemd.initrdBin = mkIf inInitrd [ pkgs.xfsprogs.bin ]; }; } |