Bluetooth

This commit is contained in:
larszauberer 2024-04-16 16:04:17 +02:00
commit bb8aa8678a
4 changed files with 21 additions and 1 deletions

View file

@ -5,5 +5,6 @@ _: {
../../../options/common/networking.nix ../../../options/common/networking.nix
../../../options/common/pin-registry.nix ../../../options/common/pin-registry.nix
../../../options/common/preserve-system.nix ../../../options/common/preserve-system.nix
../../../options/common/bluetooth.nix
]; ];
} }

View file

@ -6,5 +6,6 @@ _: {
../../../options/common/gpu/nvidia.nix ../../../options/common/gpu/nvidia.nix
../../../options/common/pin-registry.nix ../../../options/common/pin-registry.nix
../../../options/common/preserve-system.nix ../../../options/common/preserve-system.nix
../../../options/common/bluetooth.nix
]; ];
} }

View file

@ -59,7 +59,6 @@ in {
swww swww
toipe toipe
keepassxc keepassxc
bluetuith
]; ];
}; };
} }

View file

@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
let
username = config.modules.other.system.username;
in {
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
services.blueman.enable = true;
# Bluetooth headset media control buttons
systemd.user.services.mpris-proxy = {
description = "Mpris proxy";
after = [ "network.target" "sound.target" ];
wantedBy = [ "default.target" ];
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
};
}