diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-11 23:33:40 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-11 23:34:58 +0200 |
commit | 3b2609deec84ec71ced729f128aa9d549dcfa4f6 (patch) | |
tree | 9464daefc462a2186f28b69f76202a485800f2d8 /nixos/modules/system | |
parent | e8ef98cea25b4175bf7ae2c26798e5d997b06cb3 (diff) | |
download | nixlib-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar nixlib-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar.gz nixlib-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar.bz2 nixlib-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar.lz nixlib-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar.xz nixlib-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar.zst nixlib-3b2609deec84ec71ced729f128aa9d549dcfa4f6.zip |
Don't restart systemd-remount-fs
It's only needed during early boot (in fact, it's probably not needed at all on NixOS). Restarting it is expensive because it does a sync() of the root file system.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 51ebca7dd43c..c6c0021ba6d3 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -824,5 +824,7 @@ in systemd.services."user@".restartIfChanged = false; + systemd.services.systemd-remount-fs.restartIfChanged = false; + }; } |