This commit is contained in:
@@ -6,6 +6,11 @@
|
||||
settings = {
|
||||
General = {
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
# Required for LE Audio (BAP): ISO sockets / CIS live behind
|
||||
# BlueZ's experimental gate. Without this the XM6 falls back to
|
||||
# classic A2DP, and mic use forces the HSP/HFP downgrade.
|
||||
Experimental = true;
|
||||
KernelExperimental = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -13,6 +13,14 @@
|
||||
# GTK/GNOME services still useful on Wayland
|
||||
programs.dconf.enable = true;
|
||||
|
||||
# Route the Secret portal (org.freedesktop.portal.Secret) to gnome-keyring.
|
||||
# Hyprland's portal doesn't implement Secret, and the preferred backend list
|
||||
# (hyprland;gtk) has no Secret provider — so without this, the portal exposes
|
||||
# no Secret interface at all. Electron apps (e.g. Claude Desktop) fetch their
|
||||
# token-encryption key through this portal; when it's missing, os_crypt init
|
||||
# fails (prev_init_success:false) and they can't persist a login across boots.
|
||||
xdg.portal.config.common."org.freedesktop.impl.portal.Secret" = "gnome-keyring";
|
||||
|
||||
services = {
|
||||
# thumbnail support for images
|
||||
tumbler.enable = true;
|
||||
|
||||
@@ -7,5 +7,30 @@
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
|
||||
# Disable the LC3-SWB HFP codec. BlueZ 5.86's experimental LC3 super-wideband
|
||||
# headset path (lit up by hardware.bluetooth Experimental=true) is broken for
|
||||
# the Sony WF-1000XM6: when a call opens the mic, WirePlumber auto-switches to
|
||||
# the highest-priority headset profile (LC3-SWB), the audio link fails to set
|
||||
# up ("Hands-Free Voice gateway: Transport endpoint is not connected"), and the
|
||||
# buds reset with no call audio/mic. Omitting lc3_swb from the codec allow-list
|
||||
# makes autoswitch fall back to mSBC, which is stable wideband voice. Everything
|
||||
# else (A2DP LDAC/AAC/SBC, and lc3 for any future LE Audio) stays enabled.
|
||||
wireplumber.extraConfig."51-disable-lc3swb-hfp" = {
|
||||
"monitor.bluez.properties" = {
|
||||
"bluez5.codecs" = [
|
||||
"sbc"
|
||||
"sbc_xq"
|
||||
"aac"
|
||||
"aptx"
|
||||
"aptx_hd"
|
||||
"aptx_ll"
|
||||
"ldac"
|
||||
"lc3"
|
||||
"cvsd"
|
||||
"msbc"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user