Combine javascript configurations
Alan Pearce alan@alanpearce.eu
Fri, 04 Oct 2019 21:55:04 +0200
8 files changed, 16 insertions(+), 24 deletions(-)
D user/javascript/.npmrc
@@ -1,8 +0,0 @@-prefix=${HOME}/.local -//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} -@satoshipay:registry=https://registry.npmjs.org/ -always-auth=true -sign-git-tag=true -rebuild-bundle=false -update-notifier=false -registry=https://registry.npmjs.org/
M user/modules/javascript.nix → user/modules/javascript.nix
@@ -47,4 +47,13 @@ node2nixPackages.prettier_d node2nixPackages.dockerfile-language-server-nodejs node2nixPackages.yaml-language-server ]); + home.file.".npmrc".text = '' + prefix=''${HOME}/.local + //registry.npmjs.org/:_authToken=''${NPM_AUTH_TOKEN} + always-auth=true + sign-git-tag=true + rebuild-bundle=false + update-notifier=false + registry=https://registry.npmjs.org/ + ''; }
D user/modules/npm.nix
@@ -1,5 +0,0 @@-{ config, pkgs, ... }: - -{ - home.file.".npmrc".source = ../javascript/.npmrc; -}
M user/modules/satoshipay.nix → user/modules/satoshipay.nix
@@ -44,4 +44,8 @@ condition = "gitdir:~/projects/gitlab.satoshipay.tech"; contents = spGitConfig; } ]; + + home.file.".npmrc".text = '' + @satoshipay:registry=https://registry.npmjs.org/ + ''; }
M user/prefect.nix → user/prefect.nix
@@ -8,6 +8,7 @@ ./modules/emacs.nix ./modules/git.nix ./modules/gnupg.nix ./modules/i3.nix + ./modules/javascript.nix ./modules/nixos.nix ./modules/rofi.nix ./modules/satoshipay.nix
M user/satoshipad.nix → user/satoshipad.nix
@@ -10,9 +10,9 @@ ./modules/git.nix ./modules/gnupg.nix ./modules/i3.nix ./modules/isync.nix + ./modules/javascript.nix ./modules/msmtp.nix ./modules/nixos.nix - ./modules/npm.nix ./modules/rofi.nix ./modules/satoshipay.nix ./modules/sxhkd.nix
M user/trillian.nix → user/trillian.nix
@@ -6,8 +6,8 @@ ./modules/base.nix ./modules/emacs.nix ./modules/git.nix ./modules/gnupg.nix + ./modules/javascript.nix ./modules/nix.nix - ./modules/npm.nix ./modules/satoshipay.nix ./modules/tabnine.nix ./modules/trezor.nix
D user/yarn/.yarnrc
@@ -1,9 +0,0 @@-# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -registry "https://registry.npmjs.org/" -disable-self-update-check true -email alan@alanpearce.eu -username alanpearce -yarn-offline-mirror-pruning true