mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-14 00:22:39 +02:00
feat: enable bluetooth
This commit is contained in:
@@ -156,6 +156,21 @@
|
|||||||
# Disable pulseaudio, it conflicts with pipewire too.
|
# Disable pulseaudio, it conflicts with pipewire too.
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
|
|
||||||
|
# enable bluetooth & gui paring tools - blueman
|
||||||
|
# or you can use cli:
|
||||||
|
# $ bluetoothctl
|
||||||
|
# [bluetooth] # power on
|
||||||
|
# [bluetooth] # agent on
|
||||||
|
# [bluetooth] # default-agent
|
||||||
|
# [bluetooth] # scan on
|
||||||
|
# ...put device in pairing mode and wait [hex-address] to appear here...
|
||||||
|
# [bluetooth] # pair [hex-address]
|
||||||
|
# [bluetooth] # connect [hex-address]
|
||||||
|
# Bluetooth devices automatically connect with bluetoothctl as well:
|
||||||
|
# [bluetooth] # trust [hex-address]
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
|
services.blueman.enable = true;
|
||||||
|
|
||||||
# https://flatpak.org/setup/NixOS
|
# https://flatpak.org/setup/NixOS
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user