.github
.vscode
docs
hydra
keys
lib
modules
systems
artemision
hypr
kernel-patches
audio.nix
configuration.nix
default.nix
desktop.nix
fingerprint.nix
fonts.nix
graphics.nix
hardware.nix
libvirt.nix
polkit.nix
programs.nix
secrets.yaml
steam.nix
wifi.nix
zerotier.nix
bob
jeeves
jeeves-jr
palatine-hill
rhapsody-in-green
users
utils
.envrc
.gitconfig
.gitignore
.sops.yaml
CONTRIBUTING.md
README.md
checks.nix
flake.lock
flake.nix
shell.nix
sops-mergetool.sh
statix.toml
treefmt.toml
need to use programs.noisetorch as noisetorch requires a security capability Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
36 lines
921 B
Nix
36 lines
921 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# rtkit is optional but recommended
|
|
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;
|
|
};
|
|
|
|
pipewire.wireplumber.configPackages = [
|
|
(pkgs.writeTextDir "share/wireplumber/bluetooth.lua.d/51-bluez-config.lua" ''
|
|
bluez_monitor.properties = {
|
|
["bluez5.enable-sbc-xq"] = true,
|
|
["bluez5.enable-msbc"] = true,
|
|
["bluez5.enable-hw-volume"] = true,
|
|
["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
|
|
}
|
|
'')
|
|
];
|
|
blueman.enable = true;
|
|
};
|
|
|
|
hardware.bluetooth.enable = true;
|
|
hardware.bluetooth.powerOnBoot = true;
|
|
|
|
environment.systemPackages = with pkgs; [ pavucontrol ];
|
|
|
|
programs.noisetorch.enable = true;
|
|
}
|