aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorAkshay <[email protected]>2023-05-11 06:23:37 +0100
committerAkshay <[email protected]>2023-05-11 06:23:37 +0100
commit10ba218384098758549b8748606957e816177241 (patch)
tree4f8d13d7d77b0201769099e2d57e2c7ffdc92079 /hosts
parent40e33e0d82341048d307947284cea548778c56ce (diff)
move to pipewire
Diffstat (limited to 'hosts')
-rw-r--r--hosts/myrtle/configuration.nix27
1 files changed, 22 insertions, 5 deletions
diff --git a/hosts/myrtle/configuration.nix b/hosts/myrtle/configuration.nix
index fa6b0d7..be9852e 100644
--- a/hosts/myrtle/configuration.nix
+++ b/hosts/myrtle/configuration.nix
@@ -70,6 +70,16 @@
70 70
71 xdotool 71 xdotool
72 ]; 72 ];
73 etc = {
74 "wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
75 bluez_monitor.properties = {
76 ["bluez5.enable-sbc-xq"] = true,
77 ["bluez5.enable-msbc"] = true,
78 ["bluez5.enable-hw-volume"] = true,
79 ["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
80 }
81 '';
82 };
73 }; 83 };
74 84
75 85
@@ -90,14 +100,14 @@
90 adb.enable = true; 100 adb.enable = true;
91 }; 101 };
92 102
93 sound.enable = true; 103 # sound.enable = true;
94 104
95 hardware = { 105 hardware = {
96 opengl.driSupport = true; 106 opengl.driSupport = true;
97 pulseaudio = { 107 # pulseaudio = {
98 enable = true; 108 # enable = true;
99 package = pkgs.pulseaudioFull; 109 # package = pkgs.pulseaudioFull;
100 }; 110 # };
101 bluetooth = { 111 bluetooth = {
102 enable = true; 112 enable = true;
103 powerOnBoot = true; 113 powerOnBoot = true;
@@ -170,6 +180,13 @@
170 180
171 auto-cpufreq.enable = true; 181 auto-cpufreq.enable = true;
172 182
183 pipewire = {
184 enable = true;
185 alsa.enable = true;
186 alsa.support32Bit = true;
187 pulse.enable = true;
188 };
189
173 }; 190 };
174 191
175 systemd.sleep.extraConfig = '' 192 systemd.sleep.extraConfig = ''