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) |
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 32e18ff0052d3..f798862513cbc 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; |