added goober, say hello to goober

This commit is contained in:
chloe 2024-10-20 16:21:47 +02:00
parent 259aa1dd5e
commit 0035f0f1fa
36 changed files with 1708 additions and 269 deletions

View file

@ -0,0 +1,18 @@
{config, pkgs, ...}: {
hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
services.blueman.enable = true;
systemd.user.services.mpris-proxy = {
description = "Mpris proxy";
after = [ "network.target" "sound.target" ];
wantedBy = [ "default.target" ];
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
};
hardware.bluetooth.settings = {
General = {
Experimental = true;
};
};
}

View file

@ -0,0 +1,7 @@
{config, ...}:
{
imports = [
./bluetooth.nix
./pipewire.nix
];
}

View file

@ -0,0 +1,25 @@
{config, ...}:
{
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
jack.enable = true;
wireplumber.extraConfig."10-bluez" = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
"bluez5.enable-msbc" = true;
"bluez5.enable-hw-volume" = true;
"bluez5.roles" = [
"hsp_hs"
"hsp_ag"
"hfp_hf"
"hfp_ag"
];
};
};
};
}