Improve some configs

This commit is contained in:
Tobias Reisinger 2024-06-12 14:26:13 +02:00
parent 8c194df84b
commit 0ed1633be6
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 9 additions and 5 deletions

View file

@ -14,7 +14,9 @@ declare -A mapper=(
["env.d"]="$HOME/.config/env.d/" ["env.d"]="$HOME/.config/env.d/"
["git"]="$HOME/.config/git/config" ["git"]="$HOME/.config/git/config"
["git-ignore"]="$HOME/.config/git/ignore" ["git-ignore"]="$HOME/.config/git/ignore"
["git-credentials"]="$HOME/.config/git/credentials"
["home-manager"]="$HOME/.config/home-manager/home.nix" ["home-manager"]="$HOME/.config/home-manager/home.nix"
["host-mode"]="$HOME/.bin/host-mode"
["hyprland"]="$HOME/.config/hypr/hyprland.conf" ["hyprland"]="$HOME/.config/hypr/hyprland.conf"
["nvim"]="$HOME/.config/astronvim/lua/user/" ["nvim"]="$HOME/.config/astronvim/lua/user/"
["polybar"]="$HOME/.config/polybar" ["polybar"]="$HOME/.config/polybar"

View file

@ -24,10 +24,10 @@ case "$1" in
"_forget") "_forget")
host-backup forget --prune --group-by "host" \ host-backup forget --prune --group-by "host" \
--keep-last 14 \ --keep-last 14 \
--keep-daily 28 \ --keep-daily 60 \
--keep-weekly 12 \ --keep-weekly 24 \
--keep-monthly 24 \ --keep-monthly 36 \
--keep-yearly 4 --keep-yearly 10
;; ;;
*) *)
restic "$@" restic "$@"

View file

@ -20,7 +20,7 @@
[alias] [alias]
b = branch -vv b = branch -vv -a
ci = commit ci = commit
cia = commit -C HEAD --amend cia = commit -C HEAD --amend
d = difftool d = difftool
@ -61,3 +61,5 @@
[commit] [commit]
gpgsign = true gpgsign = true
verbose = true verbose = true
[credential]
helper = store