summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-11 23:33:40 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-11 23:34:58 +0200
commit3b2609deec84ec71ced729f128aa9d549dcfa4f6 (patch)
tree9464daefc462a2186f28b69f76202a485800f2d8 /nixos/modules/system/boot/systemd.nix
parente8ef98cea25b4175bf7ae2c26798e5d997b06cb3 (diff)
downloadnixpkgs-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar
nixpkgs-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar.gz
nixpkgs-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar.bz2
nixpkgs-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar.lz
nixpkgs-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar.xz
nixpkgs-3b2609deec84ec71ced729f128aa9d549dcfa4f6.tar.zst
nixpkgs-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/boot/systemd.nix')
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 51ebca7dd43..c6c0021ba6d 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;
+
   };
 }