nixos/bluetooth: fix restartIfChanged (#397210)

This commit is contained in:
Nick Cao 2025-04-09 18:57:36 -04:00 committed by GitHub
commit e6c6c067ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {