DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

58ab433029547262d84290ddb6c00625d817dc53 — Jonni Liljamo a month ago 4fd7974
feat: bluetooth
1 files changed, 18 insertions(+), 0 deletions(-)

A modules/bluetooth.nix
A modules/bluetooth.nix => modules/bluetooth.nix +18 -0
@@ 0,0 1,18 @@
{
  flake.modules.nixos.bluetooth = {pkgs, ...}: {
    environment.systemPackages = [
      pkgs.bluetui
    ];

    security.rtkit.enable = true;

    hardware.bluetooth = {
      enable = true;
      powerOnBoot = true;
    };
  };

  flake.modules.homeManager.bluetooth = {...}: {
    services.mpris-proxy.enable = true;
  };
}