From 301aa7c1bb0349b42542d995b408f18beaf3724d Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Mon, 16 Nov 2026 22:13:41 +0100 Subject: [PATCH] pinwheel: Scale `picard` by 1.5 with `QT_SCREEN_SCALE_FACTORS` --- hosts/pinwheel/modules/picard/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hosts/pinwheel/modules/picard/default.nix b/hosts/pinwheel/modules/picard/default.nix index 26bed4c..eaec436 100644 --- a/hosts/pinwheel/modules/picard/default.nix +++ b/hosts/pinwheel/modules/picard/default.nix @@ -1,8 +1,18 @@ { pkgs, ... }: +let + picard = pkgs.symlinkJoin { + name = "picard"; + paths = [ pkgs.picard ]; + nativeBuildInputs = [ pkgs.makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/picard --set QT_SCREEN_SCALE_FACTORS 1.5 + ''; + }; +in { home-manager.users.alex = { lib, ... }: { home.packages = [ - pkgs.picard + picard pkgs.rsgain ];