home-manager/tests/modules/services/cliphist/cliphist-sway-session-target.nix
2023-10-15 14:03:18 +02:00

18 lines
267 B
Nix

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