From aafe0d83f5364d497e6ad758a1d588f1b7ee00be Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Fri, 1 Jan 2021 02:29:08 +0000 Subject: [PATCH] Add jack to starlight --- sets/jack.nix | 12 ++++++++++++ system/starlight/default.nix | 1 + 2 files changed, 13 insertions(+) create mode 100644 sets/jack.nix diff --git a/sets/jack.nix b/sets/jack.nix new file mode 100644 index 0000000..5bed7dd --- /dev/null +++ b/sets/jack.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: + +{ + services.jack.jackd = { + enable = true; + extraOptions = [ "-dalsa" "--device" "hw:USB" ]; + }; + users.users.artemis.extraGroups = [ "jackaudio" ]; + environment.systemPackages = with pkgs; [ + qjackctl + ]; +} diff --git a/system/starlight/default.nix b/system/starlight/default.nix index 7224540..979dd5b 100644 --- a/system/starlight/default.nix +++ b/system/starlight/default.nix @@ -11,6 +11,7 @@ ../../sets/gpu/amd.nix ../../sets/hacking.nix ../../sets/hardware.nix + ../../sets/jack.nix ../../sets/neovim ../../sets/printing.nix ../../sets/ssh.nix