3
0
Fork 0
forked from mirrors/nixpkgs

Fix filesystem initialization systemd units

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-06-25 10:46:23 -04:00
parent 8622bd81c8
commit ed6137109d

View file

@ -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 =