summaryrefslogtreecommitdiffstats
path: root/machines/jormungand/mumble.nix
blob: c3d2ca6c161db23d21c6fe17c9dce163459bdd54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config, pkgs, lib, ... }:

let
  murmur_password = lib.removeSuffix "\n" (lib.readFile "/etc/nixos/secrets/murmur_password");
in {
  services.murmur = {
    enable = true;
    registerName = "jormungand";
    password = murmur_password;
  };
  
  networking.firewall.allowedTCPPorts = [ config.services.murmur.port ];
  networking.firewall.allowedUDPPorts = [ config.services.murmur.port ];
}