2eafb8192e
GitOrigin-RevId: 176e455371a8371586e8a3ff0d56ee9f3ca2324e
20 lines
392 B
Nix
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}
|
|
'';
|
|
}
|