Compare commits

...

2 commits

Author SHA1 Message Date
vanten-s acaba6e13a
Enabled firewall 2024-04-03 02:42:59 +02:00
vanten-s e9068a7bba
Added bluetooth 2024-04-03 02:42:43 +02:00

View file

@ -117,7 +117,6 @@ in {
python311Packages.pip python311Packages.pip
python311Packages.pygobject3 python311Packages.pygobject3
libsForQt5.kamoso libsForQt5.kamoso
blueman
gcc gcc
pass pass
vscode-langservers-extracted vscode-langservers-extracted
@ -163,6 +162,21 @@ in {
pulse.enable = true; pulse.enable = true;
}; };
environment.etc = {
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
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 ]"
}
'';
};
hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
services.blueman.enable = true;
services.pcscd.enable = true; services.pcscd.enable = true;
services.locate = { services.locate = {
enable = true; enable = true;
@ -230,7 +244,7 @@ in {
# networking.firewall.enable = false; # networking.firewall.enable = false;
networking.firewall = { networking.firewall = {
enable = false; enable = true;
allowedTCPPortRanges = [ allowedTCPPortRanges = [
{ from = 1714; to = 1764; } # KDE Connect { from = 1714; to = 1764; } # KDE Connect
]; ];