diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-03-02 00:03:12 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-03-02 00:03:12 -0800 |
| commit | 9484c4ec525c02caa8a65ecfe37ed24f1d4b321d (patch) | |
| tree | 676712a1504939b37a69fbee9c235dc61917cd65 /nix/modules/ngircd.nix | |
| parent | a05e0614c1bb75f77717a943dc4ac75a0cca4652 (diff) | |
Remove local nix directory to prepare for submodule
Diffstat (limited to 'nix/modules/ngircd.nix')
| -rw-r--r-- | nix/modules/ngircd.nix | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/nix/modules/ngircd.nix b/nix/modules/ngircd.nix deleted file mode 100644 index 12c719e..0000000 --- a/nix/modules/ngircd.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, config, ... }: -{ - services.ngircd = { - enable = lib.mkDefault config.monorepo.profiles.server.enable; - config = '' - [Global] - Name = ${config.monorepo.vars.orgHost} - Info = NullRing IRC Instance - Listen = ::,0.0.0.0 - MotdFile = /etc/motd.txt - Network = NullRing - Ports = 6667 - [Options] - PAM = no - [SSL] - CertFile = /var/lib/acme/${config.monorepo.vars.orgHost}/fullchain.pem - CipherList = HIGH:!aNULL:@STRENGTH:!SSLv3 - KeyFile = /var/lib/acme/${config.monorepo.vars.orgHost}/key.pem - Ports = 6697 - ''; - }; - - environment.etc."motd.txt" = { - source = ../data/motd.txt; - mode = "644"; - user = "ngircd"; - group = "ngircd"; - }; - - networking.firewall.allowedTCPPorts = - if (config.services.ngircd.enable == true) then [ - 6697 - 6667 - ] else [ ]; -} |
