Infini-DL360/murmur: init
This commit is contained in:
parent
b23d5fdafb
commit
34c844a6d6
2 changed files with 22 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./jupyter.nix
|
./jupyter.nix
|
||||||
./minecraft.nix
|
./minecraft.nix
|
||||||
|
./murmur.nix
|
||||||
./postgresql.nix
|
./postgresql.nix
|
||||||
./privoxy.nix
|
./privoxy.nix
|
||||||
./radicale.nix
|
./radicale.nix
|
||||||
|
|
21
hosts/Infini-DL360/murmur.nix
Normal file
21
hosts/Infini-DL360/murmur.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
certs = config.security.acme.certs."voice.inx.moe".directory;
|
||||||
|
in
|
||||||
|
|
||||||
|
{
|
||||||
|
services.murmur = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
password = "shmoopy";
|
||||||
|
stateDir = "/srv/murmur";
|
||||||
|
sslCert = "${certs}/cert.pem";
|
||||||
|
sslKey = "${certs}/key.pem";
|
||||||
|
sslCa = "${certs}/chain.pem";
|
||||||
|
};
|
||||||
|
|
||||||
|
security.acme.certs."voice.inx.moe" = {
|
||||||
|
inherit (config.services.murmur) group;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue