mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
20 lines
396 B
Nix
20 lines
396 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let secrets = (import ../../../secrets.nix);
|
|
in {
|
|
services.znc = {
|
|
enable = true;
|
|
mutable = false;
|
|
useLegacyConfig = false;
|
|
openFirewall = false;
|
|
config = {
|
|
Listener.l = {
|
|
Port = 5000;
|
|
SSL = false;
|
|
AllowWeb = true;
|
|
};
|
|
modules = [ "webadmin" "adminlog" ];
|
|
User = secrets.hosts.athame.znc;
|
|
};
|
|
};
|
|
}
|