feat: configure npm to use npm.dogar.dev

This commit is contained in:
2025-11-29 12:46:36 +05:00
parent 45c7c99911
commit 99693f7e69
2 changed files with 4 additions and 1 deletions

1
dotfiles/npm/.npmrc Normal file
View File

@@ -0,0 +1 @@
; registry=https://npm.dogar.dev

View File

@@ -1,4 +1,4 @@
{lib, ...}: { {config, lib, ...}: {
imports = lib.flatten [ imports = lib.flatten [
# #
# ========== Required Configs ========== # ========== Required Configs ==========
@@ -36,5 +36,7 @@
EDITOR = "nvim"; EDITOR = "nvim";
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
}; };
file.".npmrc".source = config.lib.file.mkOutOfStoreSymlink
"${config.home.homeDirectory}/git/nix-config/dotfiles/npm/.npmrc";
}; };
} }