1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 09:09:45 +01:00
home-manager/tests/modules/services/clipman/clipman-sway-session-target.nix
2022-12-28 23:02:08 +01:00

20 lines
392 B
Nix

{ ... }:
{
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}
'';
}