From 3444c75af94a4a42ba20ec54dc4410762f27558d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 2 Aug 2016 19:12:04 +0200 Subject: musnix on bragi --- .gitmodules | 3 +++ bragi.nix | 11 ++++++++++- musnix | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) create mode 160000 musnix diff --git a/.gitmodules b/.gitmodules index b7d9fb6e..f6ccf931 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "custom/thermoprint"] path = custom/thermoprint url = git://git.yggdrasil.li/thermoprint +[submodule "musnix"] + path = musnix + url = https://github.com/musnix/musnix.git diff --git a/bragi.nix b/bragi.nix index be34aa61..a4a8e283 100644 --- a/bragi.nix +++ b/bragi.nix @@ -5,7 +5,7 @@ let thermoprint-servant = (pkgs.callPackage ./custom/thermoprint {}).thermoprint-servant; in rec { imports = - [ + [ ./musnix ./bragi-hw.nix ./custom/zsh.nix ./users.nix @@ -99,6 +99,15 @@ in rec { JACK_PROMISCUOUS_SERVER = "1"; }; + musnix = { + enable = true; + alsaSeq.enable = false; + kernel = { + optimize = true; + realtime = true; + }; + }; + systemd.services.jack = { wantedBy = [ "sound.target" ]; serviceConfig = { diff --git a/musnix b/musnix new file mode 160000 index 00000000..1b64078c --- /dev/null +++ b/musnix @@ -0,0 +1 @@ +Subproject commit 1b64078cb0e1fc40e85ee80c5f2dd7e3c3624ef2 -- cgit v1.2.3