~ruther/nixos-config

d35952daf84c755e7c70bf705ed219d2c924422b — Rutherther 1 year, 6 months ago 85c5df7
feat: changes for bluetooth
2 files changed, 19 insertions(+), 0 deletions(-)

M hosts/configuration.nix
M hosts/home.nix
M hosts/configuration.nix => hosts/configuration.nix +12 -0
@@ 92,6 92,18 @@
    };
  };

  environment.etc = {
    "wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
      bluez_monitor.properties = {
        ["bluez5.msbc-support"] = true;
        ["bluez5.sbc-xq-support"] = true;
        ["bluez5.enable-faststream"] = true;
        ["bluez5.headset-roles"] = "[ hsp_hs hsp_ag ]";
        ["bluez5.hfphsp-backend"] = "hsphfpd";
      }
    '';
  };

  systemd.services."home-manager-${user}".serviceConfig.TimeoutStartSec = lib.mkForce "20m";

  nix = {                                   # Nix Package Manager settings

M hosts/home.nix => hosts/home.nix +7 -0
@@ 180,4 180,11 @@
      Requires = [ "graphical-session-pre.target" ];
    };
  };

  systemd.user.services.mpris-proxy = {
    description = "Mpris proxy";
    after = [ "network.target" "sound.target" ];
    wantedBy = [ "default.target" ];
    serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
  };
}

Do not follow this link