Configure npm global packages to path
This commit is contained in:
parent
dda94cb793
commit
0e71bad9d2
116
config.toml
116
config.toml
|
@ -234,15 +234,25 @@ 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 = [
|
||||
|
@ -263,7 +273,12 @@ dotfiles = [
|
|||
]
|
||||
|
||||
[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 = [
|
||||
|
@ -289,17 +304,32 @@ dotfiles = [
|
|||
]
|
||||
|
||||
[profiles.Mirkwood]
|
||||
include = ["pacman", "terminal", "email", "media", "gpg"]
|
||||
include = [
|
||||
"pacman",
|
||||
"terminal",
|
||||
"email",
|
||||
"media",
|
||||
"gpg",
|
||||
]
|
||||
dotfiles = [
|
||||
"d_rofi",
|
||||
"f_librewolf_overrides",
|
||||
"f_dconf.ini",
|
||||
"f_docker-config.json",
|
||||
"f_fonts.conf",
|
||||
"f_npmrc",
|
||||
]
|
||||
|
||||
[profiles.Mirkwood.variables]
|
||||
wayland = true
|
||||
|
||||
[profiles.Moria]
|
||||
include = ["pacman", "terminal", "media", "gpg"]
|
||||
include = [
|
||||
"pacman",
|
||||
"terminal",
|
||||
"media",
|
||||
"gpg",
|
||||
]
|
||||
dotfiles = [
|
||||
"f_librewolf_overrides",
|
||||
"f_dconf.ini",
|
||||
|
@ -307,42 +337,62 @@ dotfiles = [
|
|||
"f_fonts.conf",
|
||||
]
|
||||
|
||||
[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.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