Add yadm is dotfiles manager
This commit is contained in:
parent
12349398f3
commit
7c11c4352c
19 changed files with 68 additions and 15 deletions
1
.bin/.e
1
.bin/.e
|
@ -26,6 +26,7 @@ declare -A mapper=(
|
|||
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg.tpl"
|
||||
["waybar"]="$HOME/.config/waybar/"
|
||||
["xprofile"]="$HOME/.xprofile"
|
||||
["yadm-encrypt"]="$HOME/.config/yadm/encrypt"
|
||||
["zsh"]="$HOME/.config/zsh/.zshrc"
|
||||
)
|
||||
|
||||
|
|
|
@ -12,15 +12,10 @@ _autoinstall_base () {
|
|||
[ ! -x "$(command -v starship)" ] \
|
||||
&& curl -sS "https://starship.rs/install.sh" | BIN_DIR="$HOME/.local/bin" FORCE=1 sh
|
||||
|
||||
_autoinstall_env "$WAKATIME_HOME/.wakatime.cfg"
|
||||
|
||||
_autoinstall_file \
|
||||
"https://raw.githubusercontent.com/qw3rtman/git-fire/master/git-fire" \
|
||||
"$HOME/.local/bin/git-fire"
|
||||
|
||||
hm_config="$HOME/.config/home-manager"
|
||||
ln -sf "$hm_config/$(cat /proc/sys/kernel/hostname)-$(whoami).nix" "$hm_config/home.nix"
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue