feat(audio): move to pipewire

This commit is contained in:
2025-07-27 21:30:51 +08:00
parent 3cb73506f1
commit 7d08e1f5ef
11 changed files with 70 additions and 105 deletions

20
modules/bluetooth.nix Normal file
View File

@@ -0,0 +1,20 @@
{ config, lib, ... }:
lib.my.makeSwitch {
inherit config;
default = true;
optionName = "default bluetooth settings";
optionPath = [ "bluetooth" ];
config' = {
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Enable = "Source,Sink,Media,Socket";
Disable = "HeadSet";
MultiProfile = "multiple";
};
};
};
};
}