1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 16:41:04 +01:00
home-manager/tests/modules/programs/halloy/example-config.nix
2025-05-12 13:08:49 -05:00

37 lines
972 B
Nix

{
programs.halloy = {
enable = true;
settings = {
buffer.channel.topic.enabled = true;
servers.liberachat = {
nickname = "halloy-user";
server = "irc.libera.chat";
channels = [ "#halloy" ];
};
};
themes.my-theme = {
general = {
background = "<string>";
border = "<string>";
horizontal_rule = "<string>";
unread_indicator = "<string>";
};
text = {
primary = "<string>";
secondary = "<string>";
tertiary = "<string>";
success = "<string>";
error = "<string>";
};
};
};
nmt.script = ''
assertFileExists home-files/.config/halloy/config.toml
assertFileContent home-files/.config/halloy/config.toml \
${./example-config.toml}
assertFileExists home-files/.config/halloy/themes/my-theme.toml
assertFileContent home-files/.config/halloy/themes/my-theme.toml \
${./my-theme.toml}
'';
}