nixos-configs/devices/nos/modules/arion/music/jbots/compose.nix

30 lines
678 B
Nix
Raw Normal View History

{config, ...}: let
inherit (config.arion) rwDataDir;
rwPath = rwDataDir + "/music/jbots";
in {
arion.projects."jbots" = {
2024-01-14 02:33:12 -05:00
"musicbot_be" = {
container_name = "benis";
image = ./images/jmusicbot.nix;
2024-01-14 02:33:12 -05:00
restart = "always";
volumes = [
2024-03-17 13:17:43 -04:00
"${rwPath}/be/config.txt:/jmb/config/config.txt:ro"
"${rwPath}/be/playlists:/jmb/config/playlists:rw"
2024-01-14 02:33:12 -05:00
];
};
"musicbot_br" = {
container_name = "bruh";
image = ./images/jmusicbot.nix;
2024-01-14 02:33:12 -05:00
restart = "always";
volumes = [
2024-03-17 13:17:43 -04:00
"${rwPath}/br/config.txt:/jmb/config/config.txt:ro"
"${rwPath}/br/playlists:/jmb/config/playlists:rw"
2024-01-14 02:33:12 -05:00
];
};
};
}