From 944da3846eb126ec44a99213a9d4543ccc00630c Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sun, 28 Jan 2024 16:36:28 +0100 Subject: [PATCH] Initial `znc` setup --- hosts/nixos/lapetus/default.nix | 1 + hosts/nixos/lapetus/services/znc.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 hosts/nixos/lapetus/services/znc.nix diff --git a/hosts/nixos/lapetus/default.nix b/hosts/nixos/lapetus/default.nix index 14e59b1..53a9848 100644 --- a/hosts/nixos/lapetus/default.nix +++ b/hosts/nixos/lapetus/default.nix @@ -6,6 +6,7 @@ ./services/syncthing.nix ./services/whoogle.nix + ./services/znc.nix ./filesystems ./hardware ]; diff --git a/hosts/nixos/lapetus/services/znc.nix b/hosts/nixos/lapetus/services/znc.nix new file mode 100644 index 0000000..dc1445a --- /dev/null +++ b/hosts/nixos/lapetus/services/znc.nix @@ -0,0 +1,18 @@ +{ ... }: { + services.znc = { + enable = true; + # mutable = false; + configOptions = { + nick = "prescientmoon"; + networks.tilde = { + server = "eu.tilde.chat"; + port = 6697; + channels = [ "#meta" "#math" ]; + modules = [ + "simple_away" # marks me as away when disconnected + "sasl" # auto login + ]; + }; + }; + }; +}