added soju IRC bouncer and a couple of IRC clients.
This commit is contained in:
parent
5da8f42240
commit
63060d1a68
11 changed files with 86 additions and 4 deletions
22
configs/home-manager/halloy-irc.nix
Normal file
22
configs/home-manager/halloy-irc.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.halloy = lib.mkIf (lib.hasAttrByPath ["sops" "secrets" "soju-password"] config) {
|
||||
enable = true;
|
||||
settings = {
|
||||
servers.soju = {
|
||||
server = "irc.venberg.xyz";
|
||||
nickname = "toric";
|
||||
port = 6697;
|
||||
sasl.plain = {
|
||||
username = "toric";
|
||||
password_file = config.sops.secrets.soju-password.path;
|
||||
};
|
||||
};
|
||||
buffer.chathistory.infinite_scroll = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
15
configs/home-manager/senpai-irc.nix
Normal file
15
configs/home-manager/senpai-irc.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.senpai = lib.mkIf (lib.hasAttrByPath ["sops" "secrets" "soju-password"] config) {
|
||||
enable = true;
|
||||
config = {
|
||||
address = "irc.venberg.xyz";
|
||||
nickname = "toric";
|
||||
password-cmd = ["cat" config.sops.secrets.soju-password.path];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue