3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #238396 from R-VdP/fsck_path_fix

nixos/systemd: Make the fsck unit depend only on FS packages.
This commit is contained in:
Florian Klink 2023-06-19 12:58:27 +03:00 committed by GitHub
commit 1272a034f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -587,7 +587,7 @@ in
# Some overrides to upstream units. # Some overrides to upstream units.
systemd.services."systemd-backlight@".restartIfChanged = false; systemd.services."systemd-backlight@".restartIfChanged = false;
systemd.services."systemd-fsck@".restartIfChanged = false; systemd.services."systemd-fsck@".restartIfChanged = false;
systemd.services."systemd-fsck@".path = [ config.system.path ]; systemd.services."systemd-fsck@".path = [ pkgs.util-linux ] ++ config.system.fsPackages;
systemd.services."systemd-makefs@" = { systemd.services."systemd-makefs@" = {
restartIfChanged = false; restartIfChanged = false;
path = [ pkgs.util-linux ] ++ config.system.fsPackages; path = [ pkgs.util-linux ] ++ config.system.fsPackages;