Simplified setup

This commit is contained in:
Jan-Bulthuis 2025-04-23 15:13:51 +02:00
parent d516be8e29
commit ca9757fecb

View File

@ -24,13 +24,10 @@
# Install system packages # Install system packages
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
carla carla
wprs
xpra xpra
xwayland
alsa-utils alsa-utils
pulsemixer pulsemixer
adwaita-icon-theme adwaita-icon-theme
waypipe
open-stage-control open-stage-control
# Add LV2 plugins # Add LV2 plugins
@ -38,6 +35,7 @@
airwindows-lv2 airwindows-lv2
distrho-ports distrho-ports
cardinal cardinal
calf
]; ];
# Setup firewall # Setup firewall
@ -62,10 +60,10 @@
pipewire.jack pipewire.jack
] ]
)}"; )}";
qt = { # qt = {
enable = true; # enable = true;
style = "adwaita"; # style = "adwaita";
}; # };
xdg.icons = { xdg.icons = {
enable = true; enable = true;
fallbackCursorThemes = [ "Adwaita" ]; fallbackCursorThemes = [ "Adwaita" ];
@ -84,7 +82,6 @@
users.groups.audio = { users.groups.audio = {
members = [ members = [
"mixer" "mixer"
"local"
]; ];
}; };
@ -151,6 +148,26 @@
# Create null sinks # Create null sinks
services.pipewire.extraConfig.pipewire."91-null-sinks" = { services.pipewire.extraConfig.pipewire."91-null-sinks" = {
"context.objects" = [ "context.objects" = [
{
factory = "adapter";
args = {
"factory.name" = "support.null-audio-sink";
"node.name" = "Speaker-Proxy";
"node.description" = "Proxy for Speaker Output";
"media.class" = "Audio/Sink";
"audio.position" = "L,R";
};
}
{
factory = "adapter";
args = {
"factory.name" = "support.null-audio-sink";
"node.name" = "Headphone-Proxy";
"node.description" = "Proxy for Headphone Output";
"media.class" = "Audio/Sink";
"audio.position" = "L,R";
};
}
{ {
factory = "adapter"; factory = "adapter";
args = { args = {
@ -158,7 +175,7 @@
"node.name" = "SpotifyD-Proxy"; "node.name" = "SpotifyD-Proxy";
"node.description" = "Proxy for SpotifyD"; "node.description" = "Proxy for SpotifyD";
"media.class" = "Audio/Sink"; "media.class" = "Audio/Sink";
"audio.position" = "FL,FR"; "audio.position" = "L,R";
}; };
} }
{ {
@ -168,7 +185,7 @@
"node.name" = "AnalogIn-Proxy"; "node.name" = "AnalogIn-Proxy";
"node.description" = "Proxy for the analog input"; "node.description" = "Proxy for the analog input";
"media.class" = "Audio/Source/Virtual"; "media.class" = "Audio/Source/Virtual";
"audio.position" = "FL,FR"; "audio.position" = "L,R";
}; };
} }
]; ];