diff --git a/AGENTS.md b/AGENTS.md index 511288b4..d05931c3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -140,7 +140,7 @@ repository, and cross-link them — no need to be told. change. - `~/codes/nix-secrets` — the private agenix store behind `secrets/` and the `mysecrets` input: ciphertext and recipient rules for the secrets declared here. -- `wallpapers`, `nur-ryan4yin`, `pyclipsync`, `nu_scripts`, `mattpocock-skills`, `i-have-adhd` — +- `wallpapers`, `nur-ryan4yin`, `nu_scripts`, `mattpocock-skills`, `i-have-adhd` — flake inputs from the user's own repositories; bump with `just upp ` after their source changes, do not edit them from here. diff --git a/flake.lock b/flake.lock index 03e2a540..2a0eb10b 100644 --- a/flake.lock +++ b/flake.lock @@ -1117,26 +1117,6 @@ "type": "github" } }, - "pyclipsync": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1790136661, - "narHash": "sha256-2R03dOunHhpAIVzJObB4dVl66PwT0E8ilwe+zoPsk7I=", - "owner": "ryan4yin", - "repo": "pyclipsync", - "rev": "0b134383248faff0b2c8d3c9e8841322499ab7f8", - "type": "github" - }, - "original": { - "owner": "ryan4yin", - "repo": "pyclipsync", - "type": "github" - } - }, "root": { "inputs": { "agenix": "agenix", @@ -1172,7 +1152,6 @@ "ponytail": "ponytail", "pre-commit-hooks": "pre-commit-hooks", "preservation": "preservation", - "pyclipsync": "pyclipsync", "tuios": "tuios", "wallpapers": "wallpapers" } diff --git a/flake.nix b/flake.nix index 3fe94609..8696d00d 100644 --- a/flake.nix +++ b/flake.nix @@ -224,12 +224,5 @@ url = "github:ryan4yin/dsh-nu"; inputs.nixpkgs.follows = "nixpkgs"; }; - - # Wayland <-> X11 clipboard sync daemon for xwayland-satellite (niri). - # Track main while the upstream fix for pkgs.system has no release tag. - pyclipsync = { - url = "github:ryan4yin/pyclipsync"; - inputs.nixpkgs.follows = "nixpkgs"; - }; }; } diff --git a/home/linux/gui/niri/default.nix b/home/linux/gui/niri/default.nix index 515c266a..422b6050 100644 --- a/home/linux/gui/niri/default.nix +++ b/home/linux/gui/niri/default.nix @@ -2,18 +2,12 @@ pkgs, config, lib, - pyclipsync, ... }@args: let cfg = config.modules.desktop.niri; in { - imports = [ - # provides `services.pyclipsync.enable` - pyclipsync.homeModules.default - ]; - options.modules.desktop.niri = { enable = lib.mkEnableOption "niri compositor"; }; @@ -57,13 +51,6 @@ in }; }; - # xwayland-satellite has no compositor-level clipboard bridging, so X11 - # clients (WeChat/QQ, run via xwayland-satellite) and Wayland clients - # cannot see each other's clipboard. This daemon mirrors the X11 - # CLIPBOARD and the Wayland data device both directions (see the - # pyclipsync repo for details). - services.pyclipsync.enable = true; - # NOTE: this executable is used by greetd to start a wayland session when system boot up # with such a vendor-no-locking script, we can switch to another wayland compositor without modifying greetd's config in NixOS module home.file.".wayland-session" = {