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

19 lines
297 B
Nix
Raw Normal View History

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