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

18 lines
267 B
Nix
Raw Normal View History

{ ... }:
{
services.cliphist = {
enable = true;
systemdTarget = "sway-session.target";
};
test.stubs = {
cliphist = { };
wl-clipboard = { };
};
nmt.script = ''
assertFileExists home-files/.config/systemd/user/cliphist.service
'';
}