1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-04 20:33:27 +02: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}
'';
}