summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems
diff options
context:
space:
mode:
authorhyperfekt <adni.online@gmail.com>2018-11-03 12:34:35 +0100
committerhyperfekt <adni.online@gmail.com>2018-11-03 18:07:32 +0100
commit482228919c80d283130e30afa2bfdee05a5bfb92 (patch)
tree1a57b547d6cd6f6f12e8f54a63c4753bffb44b0e /nixos/modules/tasks/filesystems
parent1851203c7b16cb1d61e824bb83cccda28817f296 (diff)
downloadnixpkgs-482228919c80d283130e30afa2bfdee05a5bfb92.tar
nixpkgs-482228919c80d283130e30afa2bfdee05a5bfb92.tar.gz
nixpkgs-482228919c80d283130e30afa2bfdee05a5bfb92.tar.bz2
nixpkgs-482228919c80d283130e30afa2bfdee05a5bfb92.tar.lz
nixpkgs-482228919c80d283130e30afa2bfdee05a5bfb92.tar.xz
nixpkgs-482228919c80d283130e30afa2bfdee05a5bfb92.tar.zst
nixpkgs-482228919c80d283130e30afa2bfdee05a5bfb92.zip
nixos/bcachefs: remove superfluous fsck from initrd
bcachefs checks the filesystem at mount time, therefore no separate fsck binary is needed in initrd.
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r--nixos/modules/tasks/filesystems/bcachefs.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/nixos/modules/tasks/filesystems/bcachefs.nix b/nixos/modules/tasks/filesystems/bcachefs.nix
index 227707173a3..dfb8106d9a5 100644
--- a/nixos/modules/tasks/filesystems/bcachefs.nix
+++ b/nixos/modules/tasks/filesystems/bcachefs.nix
@@ -17,10 +17,5 @@ in
     boot.kernelPackages = pkgs.linuxPackages_testing_bcachefs;
     boot.initrd.availableKernelModules = mkIf inInitrd [ "bcachefs" ];
 
-    boot.initrd.extraUtilsCommands = mkIf inInitrd
-      ''
-        copy_bin_and_libs ${pkgs.bcachefs-tools}/bin/fsck.bcachefs
-      '';
-
   };
 }