summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-04 18:15:40 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-04 18:17:05 +0200
commite84d5b23e13b76aa377e8408ad1bb2709d5421be (patch)
tree8523460ebb02eac69812d19a2f5fc03ccf4ca3a9 /nixos/modules/system
parent938cf02a206e10a6ee83223e88db07414c7122a5 (diff)
downloadnixlib-e84d5b23e13b76aa377e8408ad1bb2709d5421be.tar
nixlib-e84d5b23e13b76aa377e8408ad1bb2709d5421be.tar.gz
nixlib-e84d5b23e13b76aa377e8408ad1bb2709d5421be.tar.bz2
nixlib-e84d5b23e13b76aa377e8408ad1bb2709d5421be.tar.lz
nixlib-e84d5b23e13b76aa377e8408ad1bb2709d5421be.tar.xz
nixlib-e84d5b23e13b76aa377e8408ad1bb2709d5421be.tar.zst
nixlib-e84d5b23e13b76aa377e8408ad1bb2709d5421be.zip
Allow systemd-fsck@.service to find fsck.*
Fixes "fsck.ext4 doesn't exist, not checking file system on ...".
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 32e18ff0052d..f798862513cb 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -830,6 +830,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."user@".restartIfChanged = false;
     systemd.services.systemd-journal-flush.restartIfChanged = false;
     systemd.services.systemd-random-seed.restartIfChanged = false;