2023-12-21 03:10:38 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
sane.programs.audacity = {
|
2024-01-20 11:11:12 +00:00
|
|
|
packageUnwrapped = pkgs.audacity.override {
|
2023-12-21 03:10:38 +00:00
|
|
|
# wxGTK32 uses webkitgtk-4.0.
|
|
|
|
# audacity doesn't actually need webkit though, so diable to reduce closure
|
|
|
|
wxGTK32 = pkgs.wxGTK32.override {
|
|
|
|
withWebKit = false;
|
|
|
|
};
|
|
|
|
};
|
2023-12-21 04:08:05 +00:00
|
|
|
|
2024-01-22 10:04:03 +00:00
|
|
|
sandbox.method = null; # "firejail"; # TODO: it can't load audacity.cfg
|
|
|
|
|
2023-12-21 04:08:05 +00:00
|
|
|
# disable first-run splash screen
|
|
|
|
fs.".config/audacity/audacity.cfg".file.text = ''
|
|
|
|
PrefsVersion=1.1.1r1
|
|
|
|
[GUI]
|
|
|
|
ShowSplashScreen=0
|
|
|
|
[Version]
|
|
|
|
Major=3
|
|
|
|
Minor=4
|
|
|
|
'';
|
2023-12-21 03:10:38 +00:00
|
|
|
};
|
|
|
|
}
|