posixlycorrect: vps: add irc support
This commit is contained in:
parent
bbd37a1c01
commit
743d500020
6 changed files with 166 additions and 55 deletions
|
@ -21,5 +21,6 @@
|
|||
./mapping.nix
|
||||
./zed.nix
|
||||
./pass.nix
|
||||
./halloy.nix
|
||||
];
|
||||
}
|
||||
|
|
42
home/modules/halloy.nix
Normal file
42
home/modules/halloy.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.local.apps.halloy;
|
||||
in {
|
||||
options.local.apps.halloy = {
|
||||
enable = mkEnableOption "halloy irc client";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.halloy = {
|
||||
enable = true;
|
||||
settings = {
|
||||
buffer = {
|
||||
channel.topic = {
|
||||
enabled = true;
|
||||
};
|
||||
chathistory.infinite_scroll = true;
|
||||
};
|
||||
|
||||
servers.liberachat = {
|
||||
nickname = "posixlycorrect";
|
||||
nick_password_command = "pass show liberachat_irc";
|
||||
|
||||
username = "fabiansoju/irc.libera.chat";
|
||||
password_command = "pass show soju";
|
||||
|
||||
server = "soju.posixlycorrect.com";
|
||||
port = 6697;
|
||||
chathistory = true;
|
||||
channels = [
|
||||
"#lobsters"
|
||||
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -48,6 +48,7 @@
|
|||
firefox.enable = true;
|
||||
mapping.enable = true;
|
||||
zed.enable = true;
|
||||
halloy.enable = true;
|
||||
};
|
||||
|
||||
gui = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue