diff --git a/nixos/modules/services/hardware/bluetooth.nix b/nixos/modules/services/hardware/bluetooth.nix index d8907d554d33..ebe10199bb78 100644 --- a/nixos/modules/services/hardware/bluetooth.nix +++ b/nixos/modules/services/hardware/bluetooth.nix @@ -143,6 +143,8 @@ in { wantedBy = [ "bluetooth.target" ]; aliases = [ "dbus-org.bluez.service" ]; + # restarting can leave people without a mouse/keyboard + restartIfChanged = false; serviceConfig = { ExecStart = [ "" @@ -171,8 +173,6 @@ in PrivateNetwork = false; # tethering }; - # restarting can leave people without a mouse/keyboard - unitConfig.X-RestartIfChanged = false; }; } // (optionalAttrs cfg.hsphfpd.enable {