mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Screenstub derivation. Murmur.
This commit is contained in:
parent
09c56ccf0c
commit
bfdd94bf7e
7 changed files with 202 additions and 4 deletions
|
|
@ -17,6 +17,7 @@
|
|||
./nextcloud.nix
|
||||
./bitwarden.nix
|
||||
# comms
|
||||
./murmur.nix
|
||||
./znc.nix
|
||||
./weechat.nix
|
||||
./matrix.nix
|
||||
|
|
@ -37,8 +38,8 @@
|
|||
interfaces.enp1s0.useDHCP = true;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 5160 5060 ];
|
||||
networking.firewall.allowedUDPPorts = [ 5160 5060 ];
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 5160 5060 64738 ];
|
||||
networking.firewall.allowedUDPPorts = [ 5160 5060 64738 ];
|
||||
networking.firewall.allowedTCPPortRanges = [{
|
||||
from = 10000;
|
||||
to = 20000;
|
||||
|
|
|
|||
23
config/hosts/athame/murmur.nix
Normal file
23
config/hosts/athame/murmur.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let secrets = (import ../../../secrets.nix);
|
||||
in {
|
||||
security.acme = {
|
||||
certs."kittywit.ch" = {
|
||||
group = "kittywit-ch";
|
||||
};
|
||||
};
|
||||
|
||||
users.groups."kittywit-ch".members = ["murmur" "nginx"];
|
||||
|
||||
services.murmur = {
|
||||
enable = true;
|
||||
|
||||
hostName = "kittywit.ch";
|
||||
|
||||
extraConfig = ''
|
||||
sslCert=/var/lib/acme/kittywit.ch/fullchain.pem
|
||||
sslKey=/var/lib/acme/kittywit.ch/key.pem
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue