mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 16:19:44 +01:00
18 lines
267 B
Nix
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
|
||
|
'';
|
||
|
}
|