boreal: setup borgbackup
This commit is contained in:
parent
b861b1bba0
commit
ba2ccb559c
|
@ -39,6 +39,28 @@ in
|
||||||
|
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
my.services = {
|
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 = {
|
wireguard = {
|
||||||
enable = false;
|
enable = false;
|
||||||
iface = "wg";
|
iface = "wg";
|
||||||
|
|
BIN
secrets/borg-backup/boreal-repo.secret
Normal file
BIN
secrets/borg-backup/boreal-repo.secret
Normal file
Binary file not shown.
|
@ -1,4 +1,5 @@
|
||||||
{ lib }:
|
{ lib }:
|
||||||
{
|
{
|
||||||
|
boreal-repo = lib.fileContents ./boreal-repo.secret;
|
||||||
poseidon-repo = lib.fileContents ./poseidon-repo.secret;
|
poseidon-repo = lib.fileContents ./poseidon-repo.secret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue