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

30 lines
606 B
Nix
Raw Normal View History

2024-01-14 02:33:12 -05:00
{
rwPath,
importImage,
...
}: {
services = {
"musicbot_be" = {
container_name = "benis";
hostImage = importImage ./images/jmusicbot.nix;
restart = "always";
volumes = [
"${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";
hostImage = importImage ./images/jmusicbot.nix;
restart = "always";
volumes = [
"${rwPath}/br/config.txt:/app/config.txt:ro"
"${rwPath}/br/playlists:/app/playlists:rw"
2024-01-14 02:33:12 -05:00
];
};
};
}