fix bluetooth audio
This commit is contained in:
@@ -28,7 +28,6 @@
|
|||||||
outputs = { self, nixpkgs, ... }@inputs: {
|
outputs = { self, nixpkgs, ... }@inputs: {
|
||||||
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit system;
|
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
../../modules/nixos/network.nix
|
../../modules/nixos/network.nix
|
||||||
../../modules/nixos/programs.nix
|
../../modules/nixos/programs.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
../../modules/home-manager/hyprpanel.nix
|
# ../../modules/home-manager/hyprpanel.nix
|
||||||
./other/activate.nix
|
./other/activate.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
{ inputs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [ inputs.hyprpanel.homeManagerModules.hyprpanel ];
|
|
||||||
|
|
||||||
programs.hyprpanel = {
|
|
||||||
enable = true;
|
|
||||||
systemd.enable = true;
|
|
||||||
overwrite.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -21,6 +21,20 @@
|
|||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
|
wireplumber = {
|
||||||
|
enable = true;
|
||||||
|
configPackages = [
|
||||||
|
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/51-mitigate-annoying-profile-switch.conf" ''
|
||||||
|
wireplumber.settings = {
|
||||||
|
bluetooth.autoswitch-to-headset-profile = false
|
||||||
|
}
|
||||||
|
|
||||||
|
monitor.bluez.properties = {
|
||||||
|
bluez5.roles = [ a2dp_sink a2dp_source ]
|
||||||
|
}
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
|
|||||||
Reference in New Issue
Block a user