1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/programs/twitch-tui/example-config.nix
2025-07-08 09:52:03 -05:00

27 lines
549 B
Nix

{
programs.twitch-tui = {
enable = true;
settings = {
twitch = {
username = "";
channel = "";
server = "wss://eventsub.wss.twitch.tv/ws";
token = "";
};
terminal = {
delay = 30;
maximum_messages = 500;
log_file = "";
log_level = "info";
first_state = "dashboard";
};
};
};
nmt.script = ''
assertFileExists home-files/.config/twt/config.toml
assertFileContent home-files/.config/twt/config.toml \
${./config.toml}
'';
}