From 3faebb2d6bda586e7dcd28ac7118e8a08beb6bd7 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Fri, 3 May 2024 15:05:49 -0300 Subject: [PATCH] feat: support for npm bins --- hosts/battleship/packages.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/battleship/packages.nix b/hosts/battleship/packages.nix index 5c8275d..d8e7cc1 100644 --- a/hosts/battleship/packages.nix +++ b/hosts/battleship/packages.nix @@ -31,6 +31,12 @@ }; }; + home.file."${config.home.homeDirectory}".text = '' + prefix = $${HOME}/.npm-packages + ''; + programs.zsh.initExtra = '' + export PATH=~/.npm-packages/bin:$PATH + ''; programs.krita.enable = true;