Skip to content

Commit

Permalink
fix: bluetooth audio
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Dec 23, 2024
1 parent 0614c05 commit b270d6a
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 38 deletions.
13 changes: 7 additions & 6 deletions system/audio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
wireplumber = {
enable = true;
extraConfig = {
# workaround for high battery usage
"10-disable-camera" = {
"wireplumber.profiles" = {
main = {
"monitor.libcamera" = "disabled";
};
"10-bluez" = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
"bluez5.enable-msbc" = true;
"bluez5.enable-hw-volume" = true;
"bluez5.codecs" = ["sbc" "sbc_xq" "aac" "ldac" "aptx" "aptx_hd"];
};
};
};
Expand All @@ -27,6 +27,7 @@

bluetooth = {
enable = true;
powerOnBoot = true;
package = pkgs.bluez5-experimental;
};
};
Expand Down
2 changes: 1 addition & 1 deletion system/disks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

staypls = {
enable = true;
dirs = ["/etc/ssh" "/etc/NetworkManager" "/etc/nix" "/var/lib/fprint" "/var/lib/pipewire"];
dirs = ["/etc/ssh" "/etc/NetworkManager" "/etc/nix" "/var/lib/fprint" "/var/lib/pipewire" "/var/lib/bluetooth"];
};

boot.initrd.luks.devices.luksroot = {
Expand Down
30 changes: 0 additions & 30 deletions system/disks/staypls.nix

This file was deleted.

5 changes: 4 additions & 1 deletion system/wayland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
flake,
...
}: {
hardware.graphics.enable = true;
hardware = {
graphics.enable = true;
brillo.enable = true;
};

environment.sessionVariables = {
FREETYPE_PROPERTIES = "cff:no-stem-darkening=0 autofitter:no-stem-darkening=0";
Expand Down
12 changes: 12 additions & 0 deletions user/wrapped/hypr/configs/Hyprland.nix
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,16 @@ in {
"${mod} SHIFT ALT, bracketright, movecurrentworkspacetomonitor, r"
]
++ workspaces;

layerrule = [
"blur, anyrun"
" ignorealpha 0.6, anyrun"
];
windowrulev2 = [
"workspace 2, class:(firefox|librewolf|brave)"
"workspace 4 silent, class:(signal|vesktop)"
"suppressevent maximize, class:.*"
#"scrolltouchpad 0.1, class:^(zen|firefox|brave|chromium-browser|chrome-.*)$"
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
];
}
2 changes: 2 additions & 0 deletions user/wrapped/nvim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ in
clang-tools
shellcheck
cargo
cargo-tauri
trunk
nixd
stylua
# required for my goofy ahh plugin :3
Expand Down

0 comments on commit b270d6a

Please sign in to comment.