1
0
Fork 0
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:
Janik 2023-10-15 14:03:18 +02:00 committed by GitHub
parent d4a5076ea8
commit 3b67ae3f66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 70 additions and 0 deletions

View file

@ -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

View file

@ -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
'';
}

View file

@ -0,0 +1 @@
{ cliphist-sway-session-target = ./cliphist-sway-session-target.nix; }