nixos/bcachefs: add upstream Systemd units to initrd
The bcachefs-wait-devices@.service unit can be added as a Wants dependency to a .mount units to wait until every device in the filesystem is initialized before doing the mount.
This commit is contained in:
@@ -289,6 +289,7 @@ in
|
||||
commonFunctions + lib.concatStrings (lib.mapAttrsToList openCommand bootFs)
|
||||
);
|
||||
|
||||
boot.initrd.systemd.packages = [ cfg.package ];
|
||||
boot.initrd.systemd.services = lib.mapAttrs' (mkUnits "/sysroot") bootFs;
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user