home-manager/tests/modules/services/cliphist/cliphist-sway-session-target.nix

18 lines
267 B
Nix
Raw Normal View History

2023-10-15 12:03:18 +00:00
{ ... }:
{
services.cliphist = {
enable = true;
systemdTarget = "sway-session.target";
};
test.stubs = {
cliphist = { };
wl-clipboard = { };
};
nmt.script = ''
assertFileExists home-files/.config/systemd/user/cliphist.service
'';
}