From 486b16a110f766e796542e7991580026c612733e Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Sun, 21 Dec 2025 23:04:27 +1000 Subject: [PATCH] Set darktable to open with wayland --- hosts/modules/home.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/modules/home.nix b/hosts/modules/home.nix index 1a3038c..71736c0 100644 --- a/hosts/modules/home.nix +++ b/hosts/modules/home.nix @@ -13,12 +13,18 @@ mullvad-vpn tor-browser exiftool - darktable digikam shotwell nextcloud-client bitwarden-desktop signal-desktop spotify + + (darktable.overrideAttrs (oldAttrs: { + nativeBuildInputs = (oldAttrs.nativeBuildInputs or []) ++ [ makeWrapper ]; + postInstall = (oldAttrs.postInstall or "") + '' + wrapProgram $out/bin/darktable --set GDK_BACKEND wayland + ''; + })) ]; }