summaryrefslogtreecommitdiff
path: root/flora/services/znc.nix
diff options
context:
space:
mode:
authorstuebinm2024-03-05 03:05:17 +0100
committerstuebinm2024-03-05 03:05:17 +0100
commitc11127995defe25c8b4164389750672a25e61fc0 (patch)
tree7b68c10dfd88fb401448d6bbfab3288df7b5afc1 /flora/services/znc.nix
parent911e1fd4986c0556321457a5606f0e747ef556c6 (diff)
restructure & general cleanup
- pkgs/ should now also contain all package overrides - pkgs/patches/ now contains all patches - nix flake info succeeds again - still not sure what to do about scripts - services which are not used should not be kept around this long
Diffstat (limited to 'flora/services/znc.nix')
-rw-r--r--flora/services/znc.nix43
1 files changed, 0 insertions, 43 deletions
diff --git a/flora/services/znc.nix b/flora/services/znc.nix
deleted file mode 100644
index e81bc65..0000000
--- a/flora/services/znc.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-{
- services.znc = {
- enable = true;
- mutable = false;
- useLegacyConfig = false;
- openFirewall = true;
-
- config = {
- LoadModule = [ "adminlog" "webadmin" ];
- Listener.l = {
- IPv4 = true;
- IPv6 = false;
- AllowIRC = true;
- AllowWeb = true;
- Port = 12345;
- SSL = true;
- };
- User.stuebinm = {
- Admin = true;
- BindHost = "0.0.0.0";
- LoadModule = [ "chansaver" "controlpanel" "sasl" ];
- QuitMsg = "fell into a looping fixpoint operator";
- RealName = "stuebinm";
- Pass.password = {
- Method = "sha256";
- Hash = "a0dd4be1f8959dc9c775a76779bfb8fab52e43b89bad24d85bdc28caa3499710";
- Salt = "eNT_:x1SgMvQNJAW0J!Q";
- };
- Network.libera = {
- IRCConnectEnabled = true;
- LoadModule = [ "simple_away" "sasl" ];
- Server = [ "irc.libera.chat +6697" ];
- TrustAllCerts = false;
- TrustPKI = true;
- };
- };
- };
- };
-
- networking.firewall.allowedTCPPorts = [ 12345 ];
-}