diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-04-04 18:15:40 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-04-04 18:17:05 +0200 |
commit | e84d5b23e13b76aa377e8408ad1bb2709d5421be (patch) | |
tree | 8523460ebb02eac69812d19a2f5fc03ccf4ca3a9 /nixos/modules/system | |
parent | 938cf02a206e10a6ee83223e88db07414c7122a5 (diff) | |
download | nixlib-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.nix | 1 |
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; |