Unverified Commit 58c1ab24 authored by Grimmauld's avatar Grimmauld
Browse files

nixos/bluetooth: use escapeSystemdExecArgs

parent f3a53c39
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  config,
  lib,
  pkgs,
  utils,
  ...
}:
let
@@ -16,7 +17,6 @@ let
    mkRenamedOptionModule
    mkRemovedOptionModule
    concatStringsSep
    escapeShellArgs
    optional
    optionalAttrs
    recursiveUpdate
@@ -146,7 +146,7 @@ in
            serviceConfig = {
              ExecStart = [
                ""
                "${package}/libexec/bluetooth/bluetoothd ${escapeShellArgs args}"
                "${package}/libexec/bluetooth/bluetoothd ${utils.escapeSystemdExecArgs args}"
              ];
              CapabilityBoundingSet = [
                "CAP_NET_BIND_SERVICE" # sockets and tethering