Multiple updates:
add restic to common aliases update puppet functions/modules add restic-backup command
This commit is contained in:
parent
3b349870d8
commit
60c67eecee
@ -62,6 +62,8 @@ function! OpenPuppetProfileOrRole(layout)
|
|||||||
call add(module_list, 'readarr')
|
call add(module_list, 'readarr')
|
||||||
call add(module_list, 'redisha')
|
call add(module_list, 'redisha')
|
||||||
call add(module_list, 'sonarr')
|
call add(module_list, 'sonarr')
|
||||||
|
call add(module_list, 'vlcluster')
|
||||||
|
call add(module_list, 'vmcluster')
|
||||||
|
|
||||||
" Check if the class name starts with 'profiles::' or 'roles::'
|
" Check if the class name starts with 'profiles::' or 'roles::'
|
||||||
if classname =~ '^profiles::'
|
if classname =~ '^profiles::'
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 453bd93cf9a7f203d4ad62f078746a94ffd77020
|
Subproject commit 140aca8996acf7e16da374be2b6b22fc87b3b8e0
|
||||||
@ -72,7 +72,7 @@ alias ypush="yadm push && yadm push origin master"
|
|||||||
# fix commands
|
# fix commands
|
||||||
alias ipcalc='~/.local/bin/ipcalc -n'
|
alias ipcalc='~/.local/bin/ipcalc -n'
|
||||||
alias mpv="mpv -hwdec=vdpau"
|
alias mpv="mpv -hwdec=vdpau"
|
||||||
alias ifstat="/usr/bin/ifstat"
|
alias ifstat="/usr/local/bin/ifstat"
|
||||||
alias snapper="sudo /usr/bin/snapper"
|
alias snapper="sudo /usr/bin/snapper"
|
||||||
alias ap="~/.local/bin/ansible-playbook"
|
alias ap="~/.local/bin/ansible-playbook"
|
||||||
|
|
||||||
|
|||||||
@ -74,6 +74,10 @@ ncurl() {
|
|||||||
curl --netrc-file <(pass show personal/netrc) "$@"
|
curl --netrc-file <(pass show personal/netrc) "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
export RESTIC_REPOSITORY=s3:https://radosgw.service.consul/restic-personal
|
||||||
|
export RESTIC_PASSWORD_COMMAND="pass show personal/restic/metabox"
|
||||||
|
|
||||||
# create function later:
|
# create function later:
|
||||||
# large image heavy pdf into smaller pdf
|
# large image heavy pdf into smaller pdf
|
||||||
# below will:
|
# below will:
|
||||||
|
|||||||
@ -32,3 +32,9 @@ sudo dnf install -y firefox chromium gimp libreoffice dia shotwell thunderbird i
|
|||||||
tmux udiskie upower vifm virt-manager libvirt jpegoptim poppler-utils qpdf alacritty dunst feh i3 i3blocks \
|
tmux udiskie upower vifm virt-manager libvirt jpegoptim poppler-utils qpdf alacritty dunst feh i3 i3blocks \
|
||||||
maim network-manager-applet pavucontrol sway swaylock waybar wl-clipboard grim slurp polybar mpc mpd mpv \
|
maim network-manager-applet pavucontrol sway swaylock waybar wl-clipboard grim slurp polybar mpc mpd mpv \
|
||||||
ncmpcpp openvpn
|
ncmpcpp openvpn
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# NPM
|
||||||
|
npm i opencode-ai@latest
|
||||||
|
ln -s ~/node_modules/.bin/opencode ~/bin/opencode
|
||||||
|
|||||||
14
bin/restic-backup
Executable file
14
bin/restic-backup
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
export $(pass show personal/radosgw/benvin)
|
||||||
|
|
||||||
|
restic backup "$HOME" --exclude-caches --one-file-system \
|
||||||
|
--exclude '**/.cache' \
|
||||||
|
--exclude '**/.terraform' \
|
||||||
|
--exclude '**/.terragrunt-cache' \
|
||||||
|
--exclude '**/.local/share/containers' \
|
||||||
|
--exclude '**/go/pkg/mod' \
|
||||||
|
--exclude '**/Downloads' \
|
||||||
|
--exclude '**/.thunderbird' \
|
||||||
|
--exclude '**/backups' \
|
||||||
|
--exclude '**/Video'
|
||||||
Loading…
Reference in New Issue
Block a user