make wl-clip-persist on all graphical systems

This commit is contained in:
Henry Hiles 2026-11-16 21:21:49 -05:00
commit 160a8f065e
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -0,0 +1,12 @@
{ pkgs, lib, ... }:
{
systemd.user.services.wl-clip-persist = {
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = "${lib.getExe pkgs.wl-clip-persist} --clipboard regular";
Restart = "on-failure";
};
};
}