audacity: fix sandboxing
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
# tips/tricks
|
||||||
|
# - audio recording
|
||||||
|
# - default recording input will be silent, on lappy.
|
||||||
|
# - Audio Setup -> Rescan Audio Devices ...
|
||||||
|
# - Audio Setup -> Recording device -> sysdefault
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
sane.programs.audacity = {
|
sane.programs.audacity = {
|
||||||
@@ -20,6 +25,9 @@
|
|||||||
# audacity needs the entire config dir mounted if running in a sandbox
|
# audacity needs the entire config dir mounted if running in a sandbox
|
||||||
".config/audacity"
|
".config/audacity"
|
||||||
];
|
];
|
||||||
|
sandbox.extraPaths = [
|
||||||
|
"/dev/snd" # for recording audio inputs to work
|
||||||
|
];
|
||||||
|
|
||||||
# disable first-run splash screen
|
# disable first-run splash screen
|
||||||
fs.".config/audacity/audacity.cfg".file.text = ''
|
fs.".config/audacity/audacity.cfg".file.text = ''
|
||||||
|
Reference in New Issue
Block a user