diff --git a/base/platforms/t14/default.nix b/base/platforms/t14/default.nix index 2e17337..e350efa 100644 --- a/base/platforms/t14/default.nix +++ b/base/platforms/t14/default.nix @@ -25,6 +25,18 @@ hardware.opengl.enable = true; + hardware.pulseaudio = { + enable = true; + package = pkgs.pulseaudioFull; + }; + + hardware.bluetooth.enable = true; + hardware.bluetooth.settings = { + General = { + Enable = "Source,Sink,Media,Socket"; + }; +}; + # esto es de la FGPA, eliminar cuando termine el curso services.udev.extraRules = '' # USB-Blaster @@ -41,7 +53,8 @@ fwupd.enable = true; thinkfan.enable = true; tlp.enable = true; - tp-auto-kbbl.enable =true; + tp-auto-kbbl.enable = true; + blueman.enable = true; }; } diff --git a/home/systemd/default.nix b/home/systemd/default.nix index bd3dda7..767e9cb 100644 --- a/home/systemd/default.nix +++ b/home/systemd/default.nix @@ -4,4 +4,11 @@ with lib; systemd.user.tmpfiles.rules = [ "d %t/tmp 0700 fabian fabian 24h" ]; + + systemd.user.services.mpris-proxy = { + Unit.Description = "Mpris proxy"; + Unit.After = [ "network.target" "sound.target" ]; + Service.ExecStart = "${pkgs.bluez}/bin/mpris-proxy"; + Install.WantedBy = [ "default.target" ]; + }; }