1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 16:19:44 +01:00
home-manager/tests/modules/services/comodoro/comodoro.nix

17 lines
314 B
Nix
Raw Normal View History

2023-04-14 23:41:51 +02: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}
'';
}