l pipewire: skip configuring wireplumber, add bluetooth config
This commit is contained in:
parent
e629da17d5
commit
7c3b3400b7
@ -22,15 +22,14 @@
|
|||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
};
|
};
|
||||||
|
environment.etc = {
|
||||||
systemd.services.wireplumber = {
|
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
||||||
environment = {
|
bluez_monitor.properties = {
|
||||||
HOME = "/var/lib/wireplumber";
|
["bluez5.enable-sbc-xq"] = true,
|
||||||
DISPLAY = ":0";
|
["bluez5.enable-msbc"] = true,
|
||||||
};
|
["bluez5.enable-hw-volume"] = true,
|
||||||
path = [
|
["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
|
||||||
pkgs.dbus
|
}
|
||||||
];
|
'';
|
||||||
serviceConfig.StateDirectory = "wireplumber";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
20
lass/2configs/weron/client.nix
Normal file
20
lass/2configs/weron/client.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
systemd.services.weron = {
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
environment = {
|
||||||
|
WERON_RADDR = "ws://lassul.us:23420/";
|
||||||
|
};
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = pkgs.writers.writeDash "weron" ''
|
||||||
|
${pkgs.weron}/bin/weron vpn ip \
|
||||||
|
--community krebs \
|
||||||
|
--password aidsballs \
|
||||||
|
--key aidsballs \
|
||||||
|
--ips 10.249.1.0/24 \
|
||||||
|
--verbose 7 \
|
||||||
|
--dev weron
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
13
lass/2configs/weron/signaler.nix
Normal file
13
lass/2configs/weron/signaler.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
systemd.services.weron-signaler = {
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
environment = {
|
||||||
|
};
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = ''${pkgs.weron}/bin/weron signaler --verbose=7 --laddr ":23420"'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 23420 ];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user