add bitwig + extraPackages audio options
This commit is contained in:
@ -28,6 +28,8 @@ rec {
|
|||||||
carla = true;
|
carla = true;
|
||||||
yabridge.enable = true;
|
yabridge.enable = true;
|
||||||
yabridge.autosync = true;
|
yabridge.autosync = true;
|
||||||
|
bitwig.enable = true;
|
||||||
|
extraPackages = with pkgs; [ audacity vcv-rack ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: Email
|
# TODO: Email
|
||||||
@ -264,14 +266,6 @@ rec {
|
|||||||
# blender
|
# blender
|
||||||
# godot
|
# godot
|
||||||
|
|
||||||
# Audio
|
|
||||||
# vcv-rack
|
|
||||||
bitwig-studio
|
|
||||||
# audacity
|
|
||||||
# Module carla
|
|
||||||
# Module yabridge
|
|
||||||
# Module yabridgectl
|
|
||||||
|
|
||||||
# Use NixCommunity binary cache
|
# Use NixCommunity binary cache
|
||||||
cachix
|
cachix
|
||||||
|
|
||||||
|
@ -33,17 +33,31 @@ in {
|
|||||||
description = "Sync yabridge plugins on nixos-rebuild";
|
description = "Sync yabridge plugins on nixos-rebuild";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitwig = {
|
||||||
|
enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "Enable Bitwig Studio digital audio workstation";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
extraPackages = mkOption {
|
||||||
|
type = types.listOf types.package;
|
||||||
|
default = [ ];
|
||||||
|
description = "Extra packages to install";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
home.packages = with pkgs; (mkMerge [
|
home.packages = with pkgs; (mkMerge [
|
||||||
(mkIf cfg.carla [ carla ])
|
(mkIf cfg.carla [ carla ])
|
||||||
|
|
||||||
(mkIf cfg.yabridge.enable [ yabridge yabridgectl ])
|
(mkIf cfg.yabridge.enable [ yabridge yabridgectl ])
|
||||||
|
(mkIf cfg.bitwig.enable [ bitwig-studio ])
|
||||||
|
cfg.extraPackages
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
||||||
# NOTE: This desktop entry is created in /etc/profiles/per-user/christoph/share/applications
|
# NOTE: This desktop entry is created in /etc/profiles/per-user/christoph/share/applications
|
||||||
# This location is part of XDG_DATA_DIRS
|
# This location is part of XDG_DATA_DIRS
|
||||||
xdg.desktopEntries.guitar = mkIf cfg.carla {
|
xdg.desktopEntries.guitar = mkIf cfg.carla {
|
||||||
|
Reference in New Issue
Block a user