refactor everything holy fuck

This commit is contained in:
k3t
2026-06-01 18:15:26 -06:00
parent 40d1c7f1e1
commit f9bbbcf96f
46 changed files with 696 additions and 387 deletions
+26
View File
@@ -0,0 +1,26 @@
{ pkgs, lib, ... }:
{
# Enable sound with pipewire.
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
jack.enable = true;
# use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now)
#media-session.enable = true;
wireplumber.extraConfig.bluetoothEnhancements = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
"bluez5.enable-msbc" = true;
"bluez5.enable-hw-volume" = true;
"bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" "a2dp_sink" "a2dp_source" "bap_sink" "bap_source" ];
};
};
};
}
+23
View File
@@ -0,0 +1,23 @@
{
services.pipewire.extraConfig.pipewire-pulse = {
"10-zeroconf" = {
"pulse.cmd" = [
{
cmd = "load-module";
args = "module-zeroconf-discover";
flags = [];
}
{
cmd = "load-module";
args = "module-zeroconf-publish";
flags = [];
}
{
cmd = "load-module";
args = "module-native-protocol-tcp";
flags = ["auth-anonymous"];
}
];
};
};
}