13 lines
398 B
Nix
13 lines
398 B
Nix
{pkgs, ...}: {
|
|
systemd.user.services.wl-clipboard = {
|
|
Unit = {
|
|
Description = "wl-clipboard";
|
|
After = ["graphical-session-pre.target"];
|
|
PartOf = ["graphical-session.target"];
|
|
};
|
|
Install.WantedBy = ["graphical-session.target"];
|
|
Service = {
|
|
ExecStart = "${pkgs.wl-clipboard}/bin/wl-paste --watch ${pkgs.clipman}/bin/clipman store --no-persist";
|
|
};
|
|
};
|
|
}
|