Add yadm is dotfiles manager

This commit is contained in:
Tobias Reisinger 2023-10-19 01:12:01 +02:00
parent 12349398f3
commit 7c11c4352c
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
19 changed files with 68 additions and 15 deletions

View file

@ -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"
)

View file

@ -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
}