fix(laozi/jeroboam, sys/opt/bt): move bt to system conf

This commit is contained in:
madmin 2024-09-27 00:29:30 +02:00
parent 528a813b93
commit 6844bc996b
2 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,9 @@
{ inputs, configVars, configLib, ... }:
#map with prefix to refactor
let
optionals = (configLib.mapPathsToPrefix { prefix = common/optional; list = [ /system /internet /comms /utilities /dev /office ];});
optionals = (configLib.mapPathsToPrefix {
prefix = common/optional; list = [ /system /internet /comms /utilities /dev /office ];
});
in
{
imports = [
@ -20,3 +22,4 @@ in
homeDirectory = "/home/${configVars.username}";
};
}

View File

@ -1,6 +1,13 @@
{ pkgs, ... }: {
programs.bluez = {
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Enable = "Source,Sink,Media,Socket";
};
};
};
systemd.user.services.mpris-proxy = {
description = "Mpris proxy";