boreal: setup borgbackup

This commit is contained in:
Antoine Martin 2021-04-23 20:38:22 +02:00
parent b861b1bba0
commit ba2ccb559c
3 changed files with 23 additions and 0 deletions

View file

@ -39,6 +39,28 @@ in
# List services that you want to enable:
my.services = {
borg-backup = {
enable = true;
repo = secrets.borg-backup.boreal-repo;
paths = [
"/home/alarsyo"
];
exclude = [
"/home/alarsyo/Downloads"
# Rust builds using half my storage capacity
"/home/alarsyo/*/target"
# C build crap
"*.a"
"*.o"
"*.so"
# ignore all dotfiles as .config and .cache can become quite big
"re:^/home/alarsyo/\\."
];
};
wireguard = {
enable = false;
iface = "wg";

Binary file not shown.

View file

@ -1,4 +1,5 @@
{ lib }:
{
boreal-repo = lib.fileContents ./boreal-repo.secret;
poseidon-repo = lib.fileContents ./poseidon-repo.secret;
}