From 346fee51ca045f3cef32c0ed3ee5b80062c8fbad Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 31 Jul 2024 15:50:51 -0400 Subject: [PATCH] feat: add global npmrc --- common/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/default.nix b/common/default.nix index 465d9b44..56859846 100644 --- a/common/default.nix +++ b/common/default.nix @@ -79,6 +79,12 @@ xfsprogs ]; + environment.variables.NPM_CONFIG_GLOBALCONFIG = "/etc/npmrc"; + environment.etc.npmrc.text = '' + fund = false + update-notifier = false + ''; + environment.systemPackages = (with pkgs; [ # Peripherals