move ardour to an option and pack it with plugins
This commit is contained in:
parent
b24fc7bd16
commit
07c5d42539
28
modules/nix/audio/ardour.nix
Normal file
28
modules/nix/audio/ardour.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.ardour.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "ardour suite";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.ardour.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
ardour
|
||||
guitarix
|
||||
caps
|
||||
lsp-plugins
|
||||
calf
|
||||
dragonfly-reverb
|
||||
tap-plugins
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -2,5 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./pipewire.nix
|
||||
./ardour.nix
|
||||
];
|
||||
}
|
||||
|
||||
@ -32,6 +32,7 @@ in
|
||||
wireshark.enable = true;
|
||||
alacritty.enable = true;
|
||||
mail.enable = true;
|
||||
ardour.enable = true;
|
||||
};
|
||||
programs.firefox.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
@ -57,8 +58,6 @@ in
|
||||
qbittorrent
|
||||
android-tools
|
||||
gdb
|
||||
ardour
|
||||
guitarix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user