mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
chore(niri): remove pyclipsync clipboard bridge
WeChat and QQ now use native Wayland, so the X11/Wayland clipboard bridge is no longer needed. Remove the flake input, home-manager module wiring, lock entries, and stale documentation reference. Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
1 parent
87b7a23cf3
commit
9152e82916
4 files changed
+1
-42
No files matched your search
@@ -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 <input>` after their source
|
||||
changes, do not edit them from here.
|
||||
|
||||
|
||||
Generated
-21
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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" = {
|
||||
|
||||
Reference in new issue
Block a user