Install pipewire
This commit is contained in:
parent
c2aaacd413
commit
b0c8f6f711
|
@ -6,8 +6,7 @@
|
|||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "Pulseaudio"
|
||||
server "localhost"
|
||||
name "Pipewire"
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -36,15 +36,17 @@ in
|
|||
allowedIPsAsRoutes = false;
|
||||
ips = [ "${hosts.apollo-wg}/112" ];
|
||||
privateKeyFile = pkgs.privatePath "wireguard/apollo-private";
|
||||
peers = [{
|
||||
publicKey = wireguard.pub.hera;
|
||||
allowedIPs = [ "::/0" ];
|
||||
# endpoint =
|
||||
# "[${hosts.hera-wg-host}]:${builtins.toString wireguard.port}";
|
||||
endpoint = "[${hosts.hera-v4}]:${builtins.toString wireguard.port}";
|
||||
presharedKeyFile = pkgs.privatePath "wireguard/psk";
|
||||
persistentKeepalive = 25;
|
||||
}];
|
||||
peers = [
|
||||
{
|
||||
publicKey = wireguard.pub.hera;
|
||||
allowedIPs = [ "::/0" ];
|
||||
# endpoint =
|
||||
# "[${hosts.hera-wg-host}]:${builtins.toString wireguard.port}";
|
||||
endpoint = "[${hosts.hera-v4}]:${builtins.toString wireguard.port}";
|
||||
presharedKeyFile = pkgs.privatePath "wireguard/psk";
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
];
|
||||
postSetup =
|
||||
[ "${pkgs.iproute}/bin/ip route add ${prefix}::/96 dev m0wire" ];
|
||||
};
|
||||
|
@ -65,8 +67,18 @@ in
|
|||
dconf.enable = true;
|
||||
};
|
||||
|
||||
security.rtkit.enable = true;
|
||||
services = {
|
||||
#teamviewer.enable = true;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
pulse.enable = true;
|
||||
media-session.enable = true;
|
||||
};
|
||||
fwupd.enable = true;
|
||||
upower.enable = true;
|
||||
printing = {
|
||||
|
@ -141,7 +153,7 @@ in
|
|||
driSupport32Bit = true; # for gw2
|
||||
};
|
||||
pulseaudio = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
support32Bit = true;
|
||||
tcp = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue