2024-01-22 15:50:05 -05:00
|
|
|
{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";
|
2024-01-22 15:50:05 -05:00
|
|
|
image = ./images/jmusicbot.nix;
|
2024-01-14 02:33:12 -05:00
|
|
|
restart = "always";
|
|
|
|
|
|
|
|
volumes = [
|
2024-01-14 16:09:55 -05:00
|
|
|
"${rwPath}/be/config.txt:/app/config.txt:ro"
|
|
|
|
"${rwPath}/be/playlists:/app/playlists:rw"
|
2024-01-14 02:33:12 -05:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
"musicbot_br" = {
|
|
|
|
container_name = "bruh";
|
2024-01-22 15:50:05 -05:00
|
|
|
image = ./images/jmusicbot.nix;
|
2024-01-14 02:33:12 -05:00
|
|
|
restart = "always";
|
|
|
|
|
|
|
|
volumes = [
|
2024-01-14 16:09:55 -05:00
|
|
|
"${rwPath}/br/config.txt:/app/config.txt:ro"
|
|
|
|
"${rwPath}/br/playlists:/app/playlists:rw"
|
2024-01-14 02:33:12 -05:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|