aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home.nix2
-rw-r--r--hosts/myrtle/configuration.nix27
2 files changed, 24 insertions, 5 deletions
diff --git a/home.nix b/home.nix
index 2c1efec..f183947 100644
--- a/home.nix
+++ b/home.nix
@@ -49,6 +49,8 @@
49 pavucontrol 49 pavucontrol
50 bc 50 bc
51 signal-desktop 51 signal-desktop
52 killall
53 httpie
52 54
53 # sync 55 # sync
54 rtorrent 56 rtorrent
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 = ''