Okay, never mind, jack sucks

This commit is contained in:
Artemis Tosini 2021-01-01 02:37:11 +00:00
parent aafe0d83f5
commit 4fe1c50ec9
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
3 changed files with 15 additions and 13 deletions

View file

@ -1,12 +0,0 @@
{ pkgs, ... }:
{
services.jack.jackd = {
enable = true;
extraOptions = [ "-dalsa" "--device" "hw:USB" ];
};
users.users.artemis.extraGroups = [ "jackaudio" ];
environment.systemPackages = with pkgs; [
qjackctl
];
}

14
sets/pipewire.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs, lib, ... }:
{
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = pkgs.targetPlatform.system == "x86_64-linux";
};
pulse.enable = true;
jack.enable = true;
};
hardware.pulseaudio.enable = lib.mkForce false;
}

View file

@ -11,8 +11,8 @@
../../sets/gpu/amd.nix ../../sets/gpu/amd.nix
../../sets/hacking.nix ../../sets/hacking.nix
../../sets/hardware.nix ../../sets/hardware.nix
../../sets/jack.nix
../../sets/neovim ../../sets/neovim
../../sets/pipewire.nix
../../sets/printing.nix ../../sets/printing.nix
../../sets/ssh.nix ../../sets/ssh.nix
../../sets/sway.nix ../../sets/sway.nix