Configure npm global packages to path
This commit is contained in:
parent
dda94cb793
commit
0e71bad9d2
192
config.toml
192
config.toml
|
@ -234,115 +234,165 @@ dst = "~/.config/wal"
|
|||
[dotfiles."f_dconf.ini"]
|
||||
src = ".config/dconf.ini"
|
||||
dst = "~/.config/dconf.ini"
|
||||
actions = ["dconf-load"]
|
||||
actions = [
|
||||
"dconf-load",
|
||||
]
|
||||
|
||||
[dotfiles."f_docker-config.json"]
|
||||
src = ".docker/config.json"
|
||||
dst = "~/.docker/config.json"
|
||||
chmod = "600"
|
||||
|
||||
[dotfiles.f_npmrc]
|
||||
src = ".npmrc"
|
||||
dst = "~/.npmrc"
|
||||
chmod = "600"
|
||||
|
||||
[profiles.pacman]
|
||||
dotfiles = ["f_makepkg.conf", "f_paru.conf"]
|
||||
dotfiles = [
|
||||
"f_makepkg.conf",
|
||||
"f_paru.conf",
|
||||
]
|
||||
|
||||
[profiles.terminal]
|
||||
dotfiles = [
|
||||
"d_wal",
|
||||
"d_nvim",
|
||||
"d_ssh",
|
||||
"d_zsh",
|
||||
"f_alacritty.yml",
|
||||
"f_gitconfig",
|
||||
"f_hushlogin",
|
||||
"f_ignore",
|
||||
"f_mailcap",
|
||||
"f_ranger.conf",
|
||||
"f_ranger_commands.py",
|
||||
"f_rtv.cfg",
|
||||
"f_tmux.conf",
|
||||
"f_zshrc",
|
||||
"d_wal",
|
||||
"d_nvim",
|
||||
"d_ssh",
|
||||
"d_zsh",
|
||||
"f_alacritty.yml",
|
||||
"f_gitconfig",
|
||||
"f_hushlogin",
|
||||
"f_ignore",
|
||||
"f_mailcap",
|
||||
"f_ranger.conf",
|
||||
"f_ranger_commands.py",
|
||||
"f_rtv.cfg",
|
||||
"f_tmux.conf",
|
||||
"f_zshrc",
|
||||
]
|
||||
|
||||
[profiles.email]
|
||||
dotfiles = ["d_neomutt", "d_imapnotify", "f_mbsyncrc", "f_msmtp_config"]
|
||||
dotfiles = [
|
||||
"d_neomutt",
|
||||
"d_imapnotify",
|
||||
"f_mbsyncrc",
|
||||
"f_msmtp_config",
|
||||
]
|
||||
|
||||
[profiles.media]
|
||||
dotfiles = [
|
||||
"d_mpv",
|
||||
"f_abcde.conf",
|
||||
"f_beets_config",
|
||||
"f_beets_whitelist",
|
||||
"f_libra_config",
|
||||
"f_mpd.conf",
|
||||
"f_mpdris2.conf",
|
||||
"f_mpdscribble.conf",
|
||||
"f_ncmpcpp.conf",
|
||||
"f_ncmpcpp_bindings",
|
||||
"f_youtube-dl_config",
|
||||
"d_mpv",
|
||||
"f_abcde.conf",
|
||||
"f_beets_config",
|
||||
"f_beets_whitelist",
|
||||
"f_libra_config",
|
||||
"f_mpd.conf",
|
||||
"f_mpdris2.conf",
|
||||
"f_mpdscribble.conf",
|
||||
"f_ncmpcpp.conf",
|
||||
"f_ncmpcpp_bindings",
|
||||
"f_youtube-dl_config",
|
||||
]
|
||||
|
||||
[profiles.gpg]
|
||||
dotfiles = [
|
||||
"f_gpg-agent.conf",
|
||||
"f_gpg.conf",
|
||||
"f_gpg_scdaemon.conf",
|
||||
"f_pam_environment",
|
||||
"f_gpg-agent.conf",
|
||||
"f_gpg.conf",
|
||||
"f_gpg_scdaemon.conf",
|
||||
"f_pam_environment",
|
||||
]
|
||||
|
||||
[profiles.Mirkwood]
|
||||
include = ["pacman", "terminal", "email", "media", "gpg"]
|
||||
dotfiles = [
|
||||
"d_rofi",
|
||||
"f_librewolf_overrides",
|
||||
"f_dconf.ini",
|
||||
"f_docker-config.json",
|
||||
"f_fonts.conf",
|
||||
include = [
|
||||
"pacman",
|
||||
"terminal",
|
||||
"email",
|
||||
"media",
|
||||
"gpg",
|
||||
]
|
||||
|
||||
[profiles.Moria]
|
||||
include = ["pacman", "terminal", "media", "gpg"]
|
||||
dotfiles = [
|
||||
"f_librewolf_overrides",
|
||||
"f_dconf.ini",
|
||||
"f_zprofile",
|
||||
"f_fonts.conf",
|
||||
"d_rofi",
|
||||
"f_librewolf_overrides",
|
||||
"f_dconf.ini",
|
||||
"f_docker-config.json",
|
||||
"f_fonts.conf",
|
||||
"f_npmrc",
|
||||
]
|
||||
|
||||
[profiles.Tirion]
|
||||
include = ["terminal", "gpg"]
|
||||
|
||||
[profiles.Gondor]
|
||||
include = ["pacman", "terminal"]
|
||||
|
||||
[profiles.mko-laptop]
|
||||
include = ["terminal", "media", "gpg"]
|
||||
dotfiles = ["f_librewolf_overrides", "f_dconf.ini"]
|
||||
|
||||
[profiles.Isengard]
|
||||
include = ["terminal"]
|
||||
|
||||
[profiles.Edoras]
|
||||
include = ["terminal"]
|
||||
|
||||
[profiles.TakamakiPC]
|
||||
include = ["terminal"]
|
||||
|
||||
[profiles.localhost]
|
||||
include = ["terminal"]
|
||||
|
||||
[profiles.ViiruJaTeippi]
|
||||
include = ["terminal"]
|
||||
|
||||
[profiles.Mirkwood.variables]
|
||||
wayland = true
|
||||
|
||||
[profiles.Moria]
|
||||
include = [
|
||||
"pacman",
|
||||
"terminal",
|
||||
"media",
|
||||
"gpg",
|
||||
]
|
||||
dotfiles = [
|
||||
"f_librewolf_overrides",
|
||||
"f_dconf.ini",
|
||||
"f_zprofile",
|
||||
"f_fonts.conf",
|
||||
]
|
||||
|
||||
[profiles.Moria.variables]
|
||||
wayland = true
|
||||
|
||||
[profiles.Tirion]
|
||||
include = [
|
||||
"terminal",
|
||||
"gpg",
|
||||
]
|
||||
|
||||
[profiles.Gondor]
|
||||
include = [
|
||||
"pacman",
|
||||
"terminal",
|
||||
]
|
||||
|
||||
[profiles.mko-laptop]
|
||||
include = [
|
||||
"terminal",
|
||||
"media",
|
||||
"gpg",
|
||||
]
|
||||
dotfiles = [
|
||||
"f_librewolf_overrides",
|
||||
"f_dconf.ini",
|
||||
]
|
||||
|
||||
[profiles.mko-laptop.variables]
|
||||
wayland = true
|
||||
|
||||
[profiles.Isengard]
|
||||
include = [
|
||||
"terminal",
|
||||
]
|
||||
|
||||
[profiles.Isengard.variables]
|
||||
distro_id = "termux"
|
||||
|
||||
[profiles.Edoras]
|
||||
include = [
|
||||
"terminal",
|
||||
]
|
||||
|
||||
[profiles.TakamakiPC]
|
||||
include = [
|
||||
"terminal",
|
||||
]
|
||||
|
||||
[profiles.TakamakiPC.variables]
|
||||
wayland = false
|
||||
|
||||
[profiles.localhost]
|
||||
include = [
|
||||
"terminal",
|
||||
]
|
||||
|
||||
[profiles.ViiruJaTeippi]
|
||||
include = [
|
||||
"terminal",
|
||||
]
|
||||
|
|
|
@ -27,6 +27,9 @@ export USRNAME=$USER
|
|||
|
||||
# Add ~/.local/bin to path
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
#
|
||||
# Add locally installed npm binaries to path
|
||||
export PATH="$HOME/.local/share/npm/bin:$PATH"
|
||||
|
||||
# Add ~/.cargo/bin to path
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
|
1
home/.npmrc
Normal file
1
home/.npmrc
Normal file
|
@ -0,0 +1 @@
|
|||
prefix=~/.local/share/npm
|
Loading…
Reference in a new issue