diff --git a/dotfiles/npm/.npmrc b/dotfiles/npm/.npmrc new file mode 100644 index 0000000..f3ad9c7 --- /dev/null +++ b/dotfiles/npm/.npmrc @@ -0,0 +1 @@ +; registry=https://npm.dogar.dev diff --git a/home/shahab/rihla.nix b/home/shahab/rihla.nix index 9f77a21..1cfd3b8 100644 --- a/home/shahab/rihla.nix +++ b/home/shahab/rihla.nix @@ -1,4 +1,4 @@ -{lib, ...}: { +{config, lib, ...}: { imports = lib.flatten [ # # ========== Required Configs ========== @@ -36,5 +36,7 @@ EDITOR = "nvim"; NIXOS_OZONE_WL = "1"; }; + file.".npmrc".source = config.lib.file.mkOutOfStoreSymlink + "${config.home.homeDirectory}/git/nix-config/dotfiles/npm/.npmrc"; }; }