audioshit

This commit is contained in:
Daniel Olsen 2021-07-14 00:51:09 +02:00
parent 0cd4c7d5f0
commit 3564def1ff
2 changed files with 11 additions and 13 deletions

View File

@ -14,6 +14,6 @@
programs.home-manager = { programs.home-manager = {
enable = true; enable = true;
path = "https://github.com/rycee/home-manager/archive/release-20.09.tar.gz"; path = "https://github.com/rycee/home-manager/archive/release-21.05.tar.gz";
}; };
} }

View File

@ -1,19 +1,17 @@
{pkgs, config, lib, ...}: {pkgs, config, lib, ...}:
let
audio-plugins = pkgs.symlinkJoin { name = "audio-plugins"; paths = [ pkgs.lsp-plugins pkgs.speech-denoiser ];};
in
{ {
config = lib.mkIf config.profiles.xsession.enable { config = lib.mkIf config.profiles.xsession.enable {
home.packages = [ home.packages = [ ] ++ lib.optionals config.profiles.gui.enable [
pkgs.jack2
] ++ lib.optionals config.profiles.gui.enable [
pkgs.pavucontrol pkgs.pavucontrol
pkgs.qjackctl pkgs.carla
]; ];
# home.file.pulse = { home.file."audio-plugins" = {
# target = ".config/pulse/client.conf"; source = "${audio-plugins}/lib";
# text = '' target = "audio-plugins";
# daemon-binary=/var/run/current-system/sw/bin/pulseaudio };
# '';
# };
}; };
} }