Screenstub derivation. Murmur.

This commit is contained in:
kat witch 2021-03-02 22:27:58 +00:00
parent 09c56ccf0c
commit bfdd94bf7e
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
7 changed files with 202 additions and 4 deletions

View file

@ -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;

View 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
'';
};
}

View file

@ -67,6 +67,7 @@ in {
environment.systemPackages = [
# pkgs.nur.repos.arc.packages.screenstub # for DDC/CI and input forwarding (currently disabled due to using changed source)
pkgs.arc.pkgs.scream-arc # for audio forwarding
pkgs.screenstub # for input handling
pkgs.ddcutil # for diagnostics on DDC/CI
pkgs.virt-manager # obvious reasons
];