2024-02-29 14:53:34 +00:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
let
|
|
|
|
cfg = config.host.apps.dj;
|
2024-02-29 14:53:34 +00:00
|
|
|
in
|
|
|
|
with lib;
|
|
|
|
{
|
2024-05-07 22:02:59 +00:00
|
|
|
options = {
|
|
|
|
host.apps.dj.enable = mkEnableOption (mdDoc "Enables DJing tools (i.e. Mixxx)");
|
|
|
|
};
|
2024-02-29 14:53:34 +00:00
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
host.ui.flatpak.enable = true;
|
2024-02-29 14:53:34 +00:00
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
services.flatpak.packages = [ "org.mixxx.Mixxx" ];
|
|
|
|
};
|
|
|
|
}
|