summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-06-19 12:58:27 +0300
committerGitHub <noreply@github.com>2023-06-19 12:58:27 +0300
commit1272a034f0cacb376108488e46d1bf87288d9617 (patch)
tree5ed16b45ae2fda385ee8a814ec0b392a0d05e768 /nixos
parent619d9c7bb70aea398bb3f7b820932ce849ca9e10 (diff)
parentc3fa4f91707f5b007539f9ce5fd0319cc2f6db66 (diff)
Merge pull request #238396 from R-VdP/fsck_path_fix
nixos/systemd: Make the fsck unit depend only on FS packages.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index d2af86fef57c..9557cf45d562 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -587,7 +587,7 @@ in
# Some overrides to upstream units.
systemd.services."systemd-backlight@".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@" = {
restartIfChanged = false;
path = [ pkgs.util-linux ] ++ config.system.fsPackages;