añade bluetooth

This commit is contained in:
Fabian Montero 2023-04-26 19:04:46 -06:00
parent e21cfa7a46
commit 64689eb7ca
2 changed files with 21 additions and 1 deletions

View file

@ -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;
};
}

View file

@ -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" ];
};
}