adyya-flake/services/social/murmur.mod.nix
Ittihadyya 3d94e84211
All checks were successful
/ Check formatting (push) Successful in 1m19s
moved some stuff around
2024-11-26 17:41:43 +02:00

28 lines
1.1 KiB
Nix

{
glucose.modules = [
(
{
pkgs,
config,
lib,
...
}: {
services.murmur = {
enable = true;
environmentFile = "${config.sops.templates."murmur.env.secrets.yaml".path}";
# the environment variables are provided by, evidently, the environment file.
welcometext = "$MURMUR_WELCOME_MESSAGE";
# registerPassword = "$MURMUR_REGISTRY_PASSWORD"; # removed as we realized we don't actually want it to be a public server.
password = "$MURMUR_LOGIN_PASSWORD";
port = 64738; # tcp/udp - this is the default but i'm writing it out as to not have to dig into the declaration every time i need to know which port it is.
openFirewall = false;
registerName = "Adyya's cave of hushed tones";
registerUrl = "https://mumble.collective-conciousness.monster";
registerHostname = "mumble.collective-conciousness.mosnter"; # i vaguely know what the difference between these two are but it is a bit strange, i guess.
};
}
)
];
}