added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 236b8c2a6b
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{
pkgs,
lib,
osConfig,
...
}: let
inherit (lib) mkIf mkGraphicalService getExe;
inherit (osConfig) meta;
in {
config = mkIf meta.isWayland {
systemd.user.services = {
cliphist = mkGraphicalService {
Unit.Description = "Clipboard history service";
Service = {
ExecStart = "${pkgs.wl-clipboard}/bin/wl-paste --watch ${getExe pkgs.cliphist} store";
Restart = "always";
};
};
wl-clip-persist = mkGraphicalService {
Unit.Description = "Persistent clipboard for Wayland";
Service = {
ExecStart = "${getExe pkgs.wl-clip-persist} --clipboard both";
Restart = "always";
};
};
};
};
}