Skip to content

Jack

services.jack.alsa.enable

Route audio to/from generic ALSA-using applications using ALSA JACK PCM plugin.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/jack.nix

services.jack.alsa.support32Bit

Whether to support sound for 32-bit ALSA applications on 64-bit system.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/jack.nix

services.jack.jackd.enable

Whether to enable JACK Audio Connection Kit. You need to add yourself to the "jackaudio" group . Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/jack.nix

services.jack.jackd.extraOptions

Specifies startup command line arguments to pass to JACK server.

Type: list of string

Default

["-dalsa"]

Example

[ "-dalsa" "--device" "hw:1" ];

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/jack.nix

services.jack.jackd.session

Commands to run after JACK is started.

Type: strings concatenated with "\n"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/jack.nix

services.jack.loopback.config

ALSA config for loopback device.

Type: strings concatenated with "\n"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/jack.nix

services.jack.loopback.dmixConfig

For music production software that still doesn't support JACK natively you would like to put buffer/period adjustments here to decrease dmix device latency.

Type: strings concatenated with "\n"

Default

""

Example

'' period_size 2048 periods 2''

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/jack.nix

services.jack.loopback.enable

Create ALSA loopback device, instead of using PCM plugin. Has broader application support (things like Steam will work), but may need fine-tuning for concrete hardware.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/jack.nix

services.jack.loopback.index

Index of an ALSA loopback device.

Type: signed integer

Default

10

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/jack.nix

services.jack.loopback.session

Additional commands to run to setup loopback device.

Type: strings concatenated with "\n"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/audio/jack.nix