From e10dfc484edfb04addf7b17a4f87bd3c9ff1139e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Wed, 5 Jun 2024 20:44:34 +0200 Subject: [PATCH] Wed Jun 5 08:44:34 PM CEST 2024 --- hosts/Aloria/default.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/hosts/Aloria/default.nix b/hosts/Aloria/default.nix index d95735c..bc8b061 100644 --- a/hosts/Aloria/default.nix +++ b/hosts/Aloria/default.nix @@ -135,7 +135,20 @@ in fallbackDns = [ "1.1.1.1" "1.0.0.1" ]; }; - + hardware.bluetooth.enable = true; + hardware.bluetooth.powerOnBoot = true; + services.blueman.enable = true; + systemd.user.services.mpris-proxy = { + description = "Mpris proxy"; + after = [ "network.target" "sound.target" ]; + wantedBy = [ "default.target" ]; + serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy"; + }; + hardware.bluetooth.settings = { + General = { + Experimental = true; + }; + }; fileSystems."/home/server" = { device = "10.1:/home/server";