Migrate to snowfall lib

This commit is contained in:
soraefir
2023-11-04 02:28:27 +01:00
parent a7ef5cf996
commit 99d64c588e
175 changed files with 3870 additions and 4002 deletions

View File

@ -0,0 +1,31 @@
{ lib, config, ... }: {
config = lib.mkIf (config.homecfg.make.gui) {
xdg.configFile."pipewire/pipewire-pulse.conf.d/desktop.conf".text = ''
context.modules = [
{ name = libpipewire-module-loopback
args = {
node.description = "Desktop"
node.name = "Desktop"
audio.position = [ FL FR ]
capture.props = {
media.class = Audio/Sink
node.name = "Desktop"
}
}
}
{ name = libpipewire-module-loopback
args = {
node.description = "Music"
node.name = "Music"
audio.position = [ FL FR ]
capture.props = {
media.class = Audio/Sink
node.name = "Music"
}
}
}
]
'';
};
}