diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2019-01-05 13:55:27 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2019-01-05 13:57:29 +0100 |
commit | 0a2c8cc1dbda287bdeb9c47b53f87f881f2f9710 (patch) | |
tree | 43ed5c507bedc4edf35ee010ccd203f6c1eae321 | |
parent | e36c93b3a0f05f2c939a35c245a9a62e8200aa59 (diff) | |
download | nixlib-0a2c8cc1dbda287bdeb9c47b53f87f881f2f9710.tar nixlib-0a2c8cc1dbda287bdeb9c47b53f87f881f2f9710.tar.gz nixlib-0a2c8cc1dbda287bdeb9c47b53f87f881f2f9710.tar.bz2 nixlib-0a2c8cc1dbda287bdeb9c47b53f87f881f2f9710.tar.lz nixlib-0a2c8cc1dbda287bdeb9c47b53f87f881f2f9710.tar.xz nixlib-0a2c8cc1dbda287bdeb9c47b53f87f881f2f9710.tar.zst nixlib-0a2c8cc1dbda287bdeb9c47b53f87f881f2f9710.zip |
nixos/systemd-udev-settle: don't restart on upgrades
The idea is that we only need this target during boot, however there is no point on restarting it on every upgrade. This hopefully fixes #21954
-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 d1029bb57982..860268ab23a6 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -898,6 +898,7 @@ in systemd.services.systemd-remount-fs.restartIfChanged = false; systemd.services.systemd-update-utmp.restartIfChanged = false; systemd.services.systemd-user-sessions.restartIfChanged = false; # Restart kills all active sessions. + systemd.services.systemd-udev-settle.restartIfChanged = false; # Causes long delays in nixos-rebuild # Restarting systemd-logind breaks X11 # - upstream commit: https://cgit.freedesktop.org/xorg/xserver/commit/?id=dc48bd653c7e101 # - systemd announcement: https://github.com/systemd/systemd/blob/22043e4317ecd2bc7834b48a6d364de76bb26d91/NEWS#L103-L112 |