halloy: add module (#7034)

This commit is contained in:
Aguirre Matteo 2025-05-11 23:52:09 +00:00 committed by GitHub
parent ecb2162422
commit 910292fe34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1 @@
{ halloy-example-config = ./example-config.nix; }

View file

@ -0,0 +1,19 @@
{
programs.halloy = {
enable = true;
settings = {
buffer.channel.topic.enabled = true;
servers.liberachat = {
nickname = "halloy-user";
server = "irc.libera.chat";
channels = [ "#halloy" ];
};
};
};
nmt.script = ''
assertFileExists home-files/.config/halloy/config.toml
assertFileContent home-files/.config/halloy/config.toml \
${./example-config.toml}
'';
}

View file

@ -0,0 +1,7 @@
[buffer.channel.topic]
enabled = true
[servers.liberachat]
channels = ["#halloy"]
nickname = "halloy-user"
server = "irc.libera.chat"