mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
41 lines
1 KiB
Nix
41 lines
1 KiB
Nix
{ config, pkgs, lib, superConfig, ... }:
|
|
|
|
{
|
|
home.file = {
|
|
".local/share/weechat/sec.conf" = lib.mkIf config.deploy.profile.private {
|
|
source = ../../../private/files/weechat/sec.conf;
|
|
};
|
|
};
|
|
programs.weechat = {
|
|
enable = true;
|
|
config = {
|
|
irc = {
|
|
server = {
|
|
freenode = {
|
|
address = "athame.kittywit.ch/5001";
|
|
password = "kat/freenode:\${sec.data.znc}";
|
|
ssl = true;
|
|
ssl_verify = false;
|
|
autoconnect = true;
|
|
};
|
|
espernet = {
|
|
address = "athame.kittywit.ch/5001";
|
|
password = "kat/espernet:\${sec.data.znc}";
|
|
ssl = true;
|
|
ssl_verify = false;
|
|
autoconnect = true;
|
|
};
|
|
};
|
|
};
|
|
matrix = {
|
|
server.kat = {
|
|
address = "kittywit.ch";
|
|
device_name = "${superConfig.networking.hostName}/weechat";
|
|
username = "kat";
|
|
password = "\${sec.data.matrix}";
|
|
autoconnect = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|