forked from mirrors/nixpkgs
Fix filesystem initialization systemd units
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
8622bd81c8
commit
ed6137109d
|
@ -191,7 +191,7 @@ in
|
||||||
{ description = "Initialisation of Filesystem ${fs.device}";
|
{ description = "Initialisation of Filesystem ${fs.device}";
|
||||||
wantedBy = [ "${mountPoint'}.mount" ];
|
wantedBy = [ "${mountPoint'}.mount" ];
|
||||||
before = [ "${mountPoint'}.mount" "systemd-fsck@${device'}.service" ];
|
before = [ "${mountPoint'}.mount" "systemd-fsck@${device'}.service" ];
|
||||||
require = [ "${device'}.device" ];
|
requires = [ "${device'}.device" ];
|
||||||
after = [ "${device'}.device" ];
|
after = [ "${device'}.device" ];
|
||||||
path = [ pkgs.utillinux ] ++ config.system.fsPackages;
|
path = [ pkgs.utillinux ] ++ config.system.fsPackages;
|
||||||
script =
|
script =
|
||||||
|
|
Loading…
Reference in a new issue