summaryrefslogtreecommitdiff
path: root/nixos/profiles/common/nixpkgs/overlays.nix
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-05-11 10:32:56 +0200
committerMartin Fischer <martin@push-f.com>2025-06-13 21:31:55 +0200
commit4d288d4b31a8415fccc3f5201cd45699f468a27a (patch)
tree0f03ef85b1b1325e25d79d6985ef6c4d617e4193 /nixos/profiles/common/nixpkgs/overlays.nix
parent68b0599788401c271c0133138fb073210d1f008b (diff)
tweak(workstation): add config for XPPen tablet
Diffstat (limited to 'nixos/profiles/common/nixpkgs/overlays.nix')
-rw-r--r--nixos/profiles/common/nixpkgs/overlays.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/nixos/profiles/common/nixpkgs/overlays.nix b/nixos/profiles/common/nixpkgs/overlays.nix
index 613338f..7bad946 100644
--- a/nixos/profiles/common/nixpkgs/overlays.nix
+++ b/nixos/profiles/common/nixpkgs/overlays.nix
@@ -1,4 +1,15 @@
# https://nixos.org/manual/nixpkgs/stable/#sec-overlays-definition
+{ pkgs, ... }:
[
-
+ (final: prev: {
+ sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
+ patches = old.patches ++ [
+ # https://github.com/swaywm/sway/pull/8761
+ (pkgs.fetchpatch {
+ url = "https://github.com/swaywm/sway/commit/af7c6ec7b1daeeec67dd17e27fb75f1f1c347327.patch";
+ hash = "sha256-DxN/3IdswZ6q/ksBVr+wgwGe7ScJeg8gFHYQdQAueww=";
+ })
+ ];
+ });
+ })
]