nix-configs/overlays/default.nix
Lucy Hochkamp 9b13868f9a
Some checks failed
ci/woodpecker/push/build-cache Pipeline failed
mew
2025-10-30 20:54:22 +01:00

42 lines
1.5 KiB
Nix

inputs: self: super: {
xwayland-satellite = inputs.xwayland-satellite.packages.${super.system}.default;
mtxclient = super.mtxclient.overrideAttrs (old: {
version = "git-${builtins.substring 0 8 inputs.nheko.rev}";
src = inputs.mtxclient;
});
nheko = super.nheko.overrideAttrs (old: {
version = "git-${builtins.substring 0 8 inputs.nheko.rev}-patched";
src = inputs.nheko;
patches = [
(self.fetchpatch2 {
url = "https://github.com/Nheko-Reborn/nheko/pull/1838/commits/c9f1a449d825d5879735f95ebfb0c7acec101226.patch";
hash = "sha256-RhyP8HrGtT6gYMc9mI4I8snrHCN8f0YYzFbAoMKweyc=";
})
];
LANG = "C.UTF-8";
buildInputs = old.buildInputs ++ [
self.libsysprof-capture
self.libunwind
# nheko fails to start on mobile without this
# also, the above patch + kirigami fixes scroll speed
self.kdePackages.kirigami
];
});
fido2-hid-bridge = super.callPackage ../packages/fido2-hid-bridge.nix {};
python-uhid = super.callPackage ../packages/uhid.nix {};
caddy-desec = super.callPackage ../packages/caddy-desec.nix {};
ibus-patched = super.unstable.ibus.overrideAttrs (old: {
patches = old.patches ++ [
# (builtins.head old.patches)
# (builtins.head (builtins.tail old.patches))
(self.fetchpatch2 {
url = "https://github.com/ibus/ibus/commit/dde00b1b689037e70d79a703aa028f7c3de289e2.patch";
hash = "sha256-Q5XANWsN7f9Kcno8Icgn8wlXL489YlcrlUrqeA67nWU=";
})
];
});
}