From 3be9cbe622257f65b0a6573b9080784e3c3d9774 Mon Sep 17 00:00:00 2001 From: voidarc Date: Sun, 15 Mar 2026 19:49:55 +0000 Subject: [PATCH] added mumble as audio server, wleave and iron bar. config tbd --- configs/common.nix | 4 ++- configs/configuration-pc.nix | 57 ++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 1 deletion(-) diff --git a/configs/common.nix b/configs/common.nix index 2c33d85..bbfc111 100644 --- a/configs/common.nix +++ b/configs/common.nix @@ -168,6 +168,7 @@ bibata-cursors catppuccin-gtk waybar + unstable.ironbar hyprlock cava cmatrix @@ -175,7 +176,8 @@ (input { package = "chataigne"; }) - wlogout + wlogout # To be removed + wleave wpaperd kando oh-my-posh diff --git a/configs/configuration-pc.nix b/configs/configuration-pc.nix index 65a3312..16b8ac7 100644 --- a/configs/configuration-pc.nix +++ b/configs/configuration-pc.nix @@ -54,6 +54,61 @@ }; }; + # Pipewire stuff + services.pipewire.extraConfig.pipewire."97-null-sink" = { + "context.objects" = [ + { + factory = "adapter"; + args = { + "factory.name" = "support.null-audio-sink"; + "node.name" = "Null-Sink"; + "node.description" = "Null Sink"; + "media.class" = "Audio/Sink"; + "audio.position" = "FL,FR"; + }; + } + { + factory = "adapter"; + args = { + "factory.name" = "support.null-audio-sink"; + "node.name" = "Null-Source"; + "node.description" = "Null Source"; + "media.class" = "Audio/Source"; + "audio.position" = "FL,FR"; + }; + } + ]; + }; + services.pipewire.extraConfig.pipewire."98-virtual-mic" = { + "context.modules" = [ + { + name = "libpipewire-module-loopback"; + args = { + "audio.position" = "FL,FR"; + "node.description" = "Mumble as Microphone"; + "capture.props" = { + # Mumble's output node name. + "node.target" = "Mumble"; + "node.passive" = true; + }; + "playback.props" = { + "node.name" = "Virtual-Mumble-Microphone"; + "media.class" = "Audio/Source"; + }; + }; + } + ]; + }; + + # Mumble server + services.murmur = { + enable = true; + bandwidth = 540000; + bonjour = true; + password = "mumblepass"; + autobanTime = 0; + }; + # Local User users.users.user01 = { extraGroups = [ @@ -62,7 +117,9 @@ ]; packages = with pkgs; [ bottles + mumble ferdium + audacity android-tools anki vesktop