nixos/bluetooth: fix restartIfChanged (#397210)
This commit is contained in:
commit
e6c6c067ae
@ -143,6 +143,8 @@ in
|
|||||||
{
|
{
|
||||||
wantedBy = [ "bluetooth.target" ];
|
wantedBy = [ "bluetooth.target" ];
|
||||||
aliases = [ "dbus-org.bluez.service" ];
|
aliases = [ "dbus-org.bluez.service" ];
|
||||||
|
# restarting can leave people without a mouse/keyboard
|
||||||
|
restartIfChanged = false;
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = [
|
ExecStart = [
|
||||||
""
|
""
|
||||||
@ -171,8 +173,6 @@ in
|
|||||||
|
|
||||||
PrivateNetwork = false; # tethering
|
PrivateNetwork = false; # tethering
|
||||||
};
|
};
|
||||||
# restarting can leave people without a mouse/keyboard
|
|
||||||
unitConfig.X-RestartIfChanged = false;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
// (optionalAttrs cfg.hsphfpd.enable {
|
// (optionalAttrs cfg.hsphfpd.enable {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user