NixOS configuration files
1{
2 flake.modules = {
3 nixos.bluetooth = {
4 hardware.bluetooth = {
5 enable = true;
6 powerOnBoot = true;
7 settings = {
8 General = {
9 Experimental = true;
10 };
11 };
12 };
13 services.blueman.enable = true;
14 };
15 # # possibly unnecessary?
16 # homeManager.bluetooth = {pkgs, ...}: {
17 # systemd.user.services.mpris-proxy = {
18 # description = "Mpris Proxy";
19 # after = ["network.target" "sound.target"];
20 # wantedBy = ["default.target"];
21 # serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
22 # };
23 # };
24 };
25}