From a82a17262336cb87d89549de32668cc1fb2e7d91 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 5 Nov 2023 13:45:14 +0100 Subject: [PATCH] Move figma-linux to home pkgs & add wrapGAppHook --- config/default.nix | 3 --- home/default.nix | 9 ++++++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/config/default.nix b/config/default.nix index 96f337e..5445542 100644 --- a/config/default.nix +++ b/config/default.nix @@ -195,9 +195,6 @@ libsForQt5.plasma-nm playerctl - figma-linux - gsettings-desktop-schemas # Figma linux fix - git htop tree diff --git a/home/default.nix b/home/default.nix index 0e0b8e2..f3e03cb 100644 --- a/home/default.nix +++ b/home/default.nix @@ -34,12 +34,19 @@ EDITOR = pkgs.nano; }; - packages = with pkgs; [ + packages = let + figma-linux-wrap = pkgs.figma-linux.overrideAttrs(prev: { + nativeBuildInputs = prev.nativeBuildInputs ++ [ pkgs.wrapGAppsHook ]; + }); + + in with pkgs; [ # settings arandr brightnessctl lxappearance + figma-linux-wrap + # volume pamixer pulsemixer