From 497b7018e4d92b512d1c097cf4dee6e2ee05faf7 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sat, 31 Oct 2020 21:46:42 +0100 Subject: [PATCH] nixos/bluetooth: disable restart on unit changes --- nixos/modules/services/hardware/bluetooth.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/hardware/bluetooth.nix b/nixos/modules/services/hardware/bluetooth.nix index dfa39e7f6024..230492c6b091 100644 --- a/nixos/modules/services/hardware/bluetooth.nix +++ b/nixos/modules/services/hardware/bluetooth.nix @@ -87,6 +87,8 @@ in { bluetooth = { wantedBy = [ "bluetooth.target" ]; aliases = [ "dbus-org.bluez.service" ]; + # restarting can leave people without a mouse/keyboard + unitConfig.X-RestartIfChanged = false; }; };