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

19 lines
297 B
Nix
Raw Normal View History

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