Enable mumble server
This commit is contained in:
parent
c43c5ccdcb
commit
2368267e90
6 changed files with 39 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
./git
|
||||
./mail
|
||||
./matrix
|
||||
./mumble
|
||||
./nextcloud
|
||||
./nginx
|
||||
./torrents
|
||||
|
|
21
modules/nixos/services/mumble/default.nix
Normal file
21
modules/nixos/services/mumble/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options.chvp.services.mumble.enable = lib.mkOption {
|
||||
default = false;
|
||||
example = true;
|
||||
};
|
||||
|
||||
|
||||
config = lib.mkIf config.chvp.services.mumble.enable {
|
||||
services.murmur = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
password = "$MURMURD_PASSWORD";
|
||||
};
|
||||
age.secrets."passwords/services/murmur" = {
|
||||
file = ../../../../secrets/passwords/services/murmur.age;
|
||||
owner = "murmur";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue