Files
home-manager/tests/modules/programs/pomo/example-settings.nix
Rachit Kumar Verma 8381f3481e pomo: init module
A TUI Pomodoro timer with ASCII art, progress bar, desktop notifications, and productivity stats.
2026-09-05 10:04:42 -05:00

45 lines
984 B
Nix

{
programs.pomo = {
enable = true;
settings = {
onSessionEnd = "ask";
asciiArt = {
enabled = true;
font = "mono12";
color = "#5A56E0";
};
work = {
duration = "25m";
title = "work session";
notification = {
enabled = true;
urgent = false;
title = "work finished 🎉";
message = "time to take a break";
};
};
break = {
duration = "5m";
title = "break session";
notification = {
enabled = true;
urgent = false;
title = "break over 😴";
message = "back to work!";
};
};
longBreak = {
enabled = true;
after = 4;
duration = "20m";
};
};
};
nmt.script = ''
local configFile=home-files/.config/pomo/pomo.yaml
assertFileExists $configFile
assertFileContent $configFile ${./example-settings-expected.yaml}
'';
}