audioshit

This commit is contained in:
Daniel Lovbrotte 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 = {
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, ...}:
let
audio-plugins = pkgs.symlinkJoin { name = "audio-plugins"; paths = [ pkgs.lsp-plugins pkgs.speech-denoiser ];};
in
{
config = lib.mkIf config.profiles.xsession.enable {
home.packages = [
pkgs.jack2
] ++ lib.optionals config.profiles.gui.enable [
home.packages = [ ] ++ lib.optionals config.profiles.gui.enable [
pkgs.pavucontrol
pkgs.qjackctl
pkgs.carla
];
# home.file.pulse = {
# target = ".config/pulse/client.conf";
# text = ''
# daemon-binary=/var/run/current-system/sw/bin/pulseaudio
# '';
# };
home.file."audio-plugins" = {
source = "${audio-plugins}/lib";
target = "audio-plugins";
};
};
}