mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-10 19:11:06 +01:00
services.cliphist: add module (#4445)
This commit is contained in:
parent
d4a5076ea8
commit
3b67ae3f66
5 changed files with 70 additions and 0 deletions
|
|
@ -205,6 +205,7 @@ import nmt {
|
|||
./modules/services/barrier
|
||||
./modules/services/borgmatic
|
||||
./modules/services/cachix-agent
|
||||
./modules/services/cliphist
|
||||
./modules/services/clipman
|
||||
./modules/services/comodoro
|
||||
./modules/services/devilspie2
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.cliphist = {
|
||||
enable = true;
|
||||
systemdTarget = "sway-session.target";
|
||||
};
|
||||
|
||||
test.stubs = {
|
||||
cliphist = { };
|
||||
wl-clipboard = { };
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/systemd/user/cliphist.service
|
||||
'';
|
||||
}
|
||||
1
tests/modules/services/cliphist/default.nix
Normal file
1
tests/modules/services/cliphist/default.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ cliphist-sway-session-target = ./cliphist-sway-session-target.nix; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue