1
0
Fork 0
nix-configuration/modules/apps/dj.nix

18 lines
303 B
Nix
Raw Normal View History

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