diff options
| author | Preston Pan <ret2pop@gmail.com> | 2025-03-21 04:52:46 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2025-03-21 04:52:46 -0700 |
| commit | 00c9e35779cbb298d6395a6e2c2534007a92976f (patch) | |
| tree | e5bfc2d375b331ba6b664ddf6152f51bfcc900df /nix/modules/znc.nix | |
| parent | 2a4c959ef00fea785633afe44be0af77d6441a4b (diff) | |
add a ton of VPS upgrades; update website; live life
Diffstat (limited to 'nix/modules/znc.nix')
| -rw-r--r-- | nix/modules/znc.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nix/modules/znc.nix b/nix/modules/znc.nix new file mode 100644 index 0000000..c2e2079 --- /dev/null +++ b/nix/modules/znc.nix @@ -0,0 +1,31 @@ +{ lib, config, ... }: +{ + services.znc = { + enable = lib.mkDefault config.monorepo.profiles.server.enable; + openFirewall = true; + confOptions = { + useSSL = true; + passBlock = '' +<Pass password> + Method = sha256 + Hash = d4abdd69aa24de69693885c5bd83a4a0e9ee989e1a69a905041b0dad9abc06ea + Salt = sDY,?H5AxC-!gH3a.:)D +</Pass> +''; + modules = [ + "partyline" + "webadmin" + "adminlog" + "log" + ]; + networks = { + "libera" = { + server = "irc.libera.chat"; + port = 6697; + useSSL = true; + modules = [ "simple_away" ]; + }; + }; + }; + }; +} |
