From 3b2609deec84ec71ced729f128aa9d549dcfa4f6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 11 Jul 2014 23:33:40 +0200 Subject: [PATCH] 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. --- nixos/modules/system/boot/systemd.nix | 2 ++ 1 file changed, 2 insertions(+) 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; + }; }