mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2024-10-05 20:06:16 -07:00
Compare commits
5 Commits
fd1928a08b
...
afd51564ce
Author | SHA1 | Date | |
---|---|---|---|
afd51564ce | |||
6211f4097b | |||
55754867ad | |||
4bcfa42a83 | |||
3957481676 |
@ -57,3 +57,6 @@ alias dr='docker run --rm --name $(date +%Y%m%d%k%M%S) -p 8082:8082 -v $(pwd):/r
|
||||
|
||||
# applications
|
||||
alias google-chrome-stable="google-chrome-stable --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'"
|
||||
|
||||
# rsync
|
||||
alias rsync.net="ssh fm2120@fm2120.rsync.net"
|
||||
|
12
home/dot_config/borgmatic.d/common.yaml
Normal file
12
home/dot_config/borgmatic.d/common.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
keep_daily: 7
|
||||
keep_weekly: 4
|
||||
keep_monthly: 6
|
||||
|
||||
encryption_passcommand: cat /run/agenix/borg/torus/password
|
||||
compression: zstd,22
|
||||
checks:
|
||||
- name: repository
|
||||
- name: spot
|
||||
count_tolerance_percentage: 10
|
||||
data_sample_percentage: 1
|
||||
data_tolerance_percentage: 0.5
|
15
home/dot_config/borgmatic.d/kestrel_common.yaml
Normal file
15
home/dot_config/borgmatic.d/kestrel_common.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
source_directories:
|
||||
- "/home/tstarr"
|
||||
|
||||
exclude_patterns:
|
||||
- "/home/tstarr/.?*"
|
||||
- "/home/tstarr/mnt"
|
||||
- "/home/tstarr/tmp"
|
||||
- "/home/tstarr/sync"
|
||||
- "/home/tstarr/media/roms"
|
||||
- "/home/tstarr/box"
|
||||
- "/home/tstarr/Downloads"
|
||||
|
||||
archive_name_format: 'kestrel.borg-{now}'
|
||||
|
||||
<<: !include common.yaml
|
7
home/dot_config/borgmatic.d/kestrel_rsync.yaml
Normal file
7
home/dot_config/borgmatic.d/kestrel_rsync.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
repositories:
|
||||
- path: ssh://fm2120@fm2120.rsync.net//data2/home/fm2120/store/kestrel.borg
|
||||
label: rsync
|
||||
|
||||
remote_path: borg1
|
||||
|
||||
<<: !include kestrel_common.yaml
|
5
home/dot_config/borgmatic.d/kestrel_torus.yaml
Normal file
5
home/dot_config/borgmatic.d/kestrel_torus.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
repositories:
|
||||
- path: ssh://tstarr@torus//engi/store/kestrel.borg
|
||||
label: torus
|
||||
|
||||
<<: !include kestrel_common.yaml
|
@ -10,15 +10,4 @@ exclude_patterns:
|
||||
|
||||
archive_name_format: 'torus.borg-{now}'
|
||||
|
||||
keep_daily: 7
|
||||
keep_weekly: 4
|
||||
keep_monthly: 6
|
||||
|
||||
encryption_passcommand: cat /run/agenix/borg/torus/password
|
||||
compression: zstd,22
|
||||
checks:
|
||||
- name: repository
|
||||
- name: spot
|
||||
count_tolerance_percentage: 10
|
||||
data_sample_percentage: 1
|
||||
data_tolerance_percentage: 0.5
|
||||
<<: !include common.yaml
|
||||
|
@ -25,6 +25,11 @@
|
||||
owner = "${user}";
|
||||
group = "users";
|
||||
};
|
||||
age.secrets."borg/torus/password" = {
|
||||
file = ../../secrets/borg/torus/password.age;
|
||||
owner = "${user}";
|
||||
group = "users";
|
||||
};
|
||||
|
||||
# Password-less logins for backup
|
||||
users.users."${user}".openssh.authorizedKeys.keyFiles = [
|
||||
|
Loading…
Reference in New Issue
Block a user