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/clipman/clipman-sway-session-target.nix

21 lines
392 B
Nix
Raw Normal View History

2022-08-27 20:52:41 +02:00
{ ... }:
{
home.stateVersion = "21.11";
services.clipman = {
enable = true;
systemdTarget = "sway-session.target";
};
test.stubs = {
clipman = { };
wl-clipboard = { };
};
nmt.script = ''
serviceFile=$(normalizeStorePaths home-files/.config/systemd/user/clipman.service)
assertFileContent "$serviceFile" ${./clipman-sway-session-target.service}
'';
}