summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-04 16:29:24 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-04 16:40:18 +0200
commitde51ad6cd1a1443d66263420c49c334cad0eeb71 (patch)
tree0a24a64f4a3851723d41e10a19316e04438030cf /nixos/modules/system/boot/systemd.nix
parente410c78cd5f2d770f6be8b68e410e566d61f75e5 (diff)
downloadnixpkgs-de51ad6cd1a1443d66263420c49c334cad0eeb71.tar
nixpkgs-de51ad6cd1a1443d66263420c49c334cad0eeb71.tar.gz
nixpkgs-de51ad6cd1a1443d66263420c49c334cad0eeb71.tar.bz2
nixpkgs-de51ad6cd1a1443d66263420c49c334cad0eeb71.tar.lz
nixpkgs-de51ad6cd1a1443d66263420c49c334cad0eeb71.tar.xz
nixpkgs-de51ad6cd1a1443d66263420c49c334cad0eeb71.tar.zst
nixpkgs-de51ad6cd1a1443d66263420c49c334cad0eeb71.zip
Don't restart systemd-fsck@ units
Restarting them is useless since the filesystem is already
checked. Worse, restarting them causes the filesystem to be unmounted.

Also remove an override for systemd-rkill@.service which no longer
exists.
Diffstat (limited to 'nixos/modules/system/boot/systemd.nix')
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index bff6739db61..32e18ff0052 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -829,7 +829,7 @@ in
 
     # Some overrides to upstream units.
     systemd.services."systemd-backlight@".restartIfChanged = false;
-    systemd.services."systemd-rfkill@".restartIfChanged = false;
+    systemd.services."systemd-fsck@".restartIfChanged = false;
     systemd.services."user@".restartIfChanged = false;
     systemd.services.systemd-journal-flush.restartIfChanged = false;
     systemd.services.systemd-random-seed.restartIfChanged = false;