home-manager/tests/modules/services/comodoro/comodoro.nix

17 lines
314 B
Nix
Raw Normal View History

2023-04-14 21:41:51 +00:00
{ ... }:
{
services.comodoro = {
enable = true;
preset = "preset";
protocols = [ "tcp" ];
};
test.stubs.comodoro = { };
nmt.script = ''
serviceFile=$(normalizeStorePaths home-files/.config/systemd/user/comodoro.service)
assertFileContent "$serviceFile" ${./expected.service}
'';
}