1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 20:01:08 +01:00

feat(weechat): adapt to new declarative setup by @lassulus

This commit is contained in:
2022-06-21 23:13:37 +02:00
parent 365f6f780a
commit a451d2af61
2 changed files with 15 additions and 7 deletions

View File

@@ -4,7 +4,11 @@
lib, lib,
... ...
}: let }: let
nixpkgs-21-11 = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-21.11.tar.gz") {}; nixpkgs-21-11 = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-21.11.tar.gz") {
config.permittedInsecurePackages = [
"python3.9-poetry-1.1.12"
];
};
telebots = nixpkgs-21-11.callPackage <telebots> {}; telebots = nixpkgs-21-11.callPackage <telebots> {};
reverseDirectory = "/run/telegram-reverse"; reverseDirectory = "/run/telegram-reverse";
proverbDirectory = "/run/telegram-proverb"; proverbDirectory = "/run/telegram-proverb";

View File

@@ -55,7 +55,7 @@ in {
server = { server = {
hackint = { hackint = {
autoconnect = true; autoconnect = true;
address = "irc.hackint.org/6697"; addresses = "irc.hackint.org/6697";
ipv6 = true; ipv6 = true;
ssl = true; ssl = true;
autojoin = ["#eloop" "#krebs" "#hsmr" "#nixos" "#the_playlist" "#flipdot-berlin" "#hackint"]; autojoin = ["#eloop" "#krebs" "#hsmr" "#nixos" "#the_playlist" "#flipdot-berlin" "#hackint"];
@@ -65,7 +65,7 @@ in {
}; };
libera = { libera = {
autoconnect = true; autoconnect = true;
address = "irc.libera.chat/6697"; addresses = "irc.libera.chat/6697";
ssl = true; ssl = true;
autojoin = ["#flipdot" "#haskell" "#nixos" "#fysi" "#binaergewitter" "#neovim" "#lojban" "#vim" "#newsboat"]; autojoin = ["#flipdot" "#haskell" "#nixos" "#fysi" "#binaergewitter" "#neovim" "#lojban" "#vim" "#newsboat"];
sasl_mechanism = "plain"; sasl_mechanism = "plain";
@@ -74,7 +74,7 @@ in {
}; };
oftc = { oftc = {
autoconnect = true; autoconnect = true;
address = "irc.oftc.net/6697"; addresses = "irc.oftc.net/6697";
ssl = true; ssl = true;
ipv6 = true; ipv6 = true;
command = lib.concatStringsSep "\\;" [ command = lib.concatStringsSep "\\;" [
@@ -85,7 +85,7 @@ in {
}; };
retiolum = { retiolum = {
autoconnect = true; autoconnect = true;
address = "irc.r"; addresses = "irc.r";
autojoin = ["#xxx" "#brockman" "#flix" "#mukke"]; autojoin = ["#xxx" "#brockman" "#flix" "#mukke"];
command = lib.concatStringsSep "\\;" [ command = lib.concatStringsSep "\\;" [
"/oper admin aidsballs" "/oper admin aidsballs"
@@ -99,7 +99,7 @@ in {
}; };
news = { news = {
autoconnect = true; autoconnect = true;
address = "news.r"; addresses = "news.r";
autojoin = ["#cook" "#drachengame" "#oepnv" "#kmeinung" "#memes"]; autojoin = ["#cook" "#drachengame" "#oepnv" "#kmeinung" "#memes"];
command = "/oper aids balls"; command = "/oper aids balls";
}; };
@@ -150,7 +150,11 @@ in {
}; };
}; };
}; };
extraCommands = ''/matrix connect nibbana''; extraCommands = ''
/save
/matrix connect nibbana
/connect -all
'';
}; };
}; };
in { in {