From 28d3a9b83f1633bde6e0d2e6b74d14f0140338a1 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 23 Apr 2023 23:08:42 +0100 Subject: [PATCH] nixos/castle: Fix pipewire config for jacktrip --- nixos/boxes/castle/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/nixos/boxes/castle/default.nix b/nixos/boxes/castle/default.nix index 56fa0ff..0314842 100644 --- a/nixos/boxes/castle/default.nix +++ b/nixos/boxes/castle/default.nix @@ -85,6 +85,7 @@ networking = { domain = "h.${lib.my.pubDomain}"; + firewall.enable = false; }; environment.systemPackages = with pkgs; [ @@ -94,6 +95,14 @@ lm_sensors linuxPackages.cpupower ]; + environment.etc = { + "pipewire/pipewire.conf.d/sample-size.conf".text = '' + context.properties = { + default.clock.quantum = 128 + default.clock.max-quantum = 128 + } + ''; + }; nix = { gc.automatic = false; @@ -134,7 +143,10 @@ services = { }; home = { - packages = with pkgs; [ ]; + packages = with pkgs; [ + jacktrip + qpwgraph + ]; }; services = {