2020-10-01 15:46:04 -07:00
|
|
|
# modules/desktop/media/daw.nix
|
2020-03-28 22:48:43 -07:00
|
|
|
#
|
|
|
|
# I make music for my games. LMMS is my DAW; or will be, once I've weened myself
|
|
|
|
# off of Fruityloops. When I'm in the mood for a quicky I fire up sunvox
|
|
|
|
# instead. It runs absolutely anywhere, even on my ipad and phone. As if I'd
|
|
|
|
# ever need to.
|
|
|
|
|
|
|
|
{ config, options, lib, pkgs, ... }:
|
2020-10-01 15:46:04 -07:00
|
|
|
|
2020-03-28 22:48:43 -07:00
|
|
|
with lib;
|
2020-10-01 15:46:04 -07:00
|
|
|
with lib.my;
|
|
|
|
let cfg = config.modules.desktop.media.daw;
|
|
|
|
in {
|
|
|
|
options.modules.desktop.media.daw = {
|
|
|
|
enable = mkBoolOpt false;
|
2020-03-28 22:48:43 -07:00
|
|
|
};
|
|
|
|
|
2020-10-01 15:46:04 -07:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
user.packages = with pkgs; [
|
2020-03-28 22:48:43 -07:00
|
|
|
# lmms on stable is broken due to 'Could not find the Qt platform plugin
|
|
|
|
# "xcb" in ""' error: https://github.com/NixOS/nixpkgs/issues/76074
|
|
|
|
unstable.lmms # for making music
|
|
|
|
|
|
|
|
audacity # for recording and remastering audio
|
|
|
|
# sunvox # for making music (where LMMS is overkill)
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|