mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-27 17:08:29 +02:00
seafile: init
This commit is contained in:
parent
2bacb74cc1
commit
fdcfeb524c
10 changed files with 170 additions and 41 deletions
|
@ -5,17 +5,20 @@
|
|||
services.borgmatic = {
|
||||
enable = true;
|
||||
settings = {
|
||||
location = {
|
||||
source_directories = [
|
||||
"/var/lib"
|
||||
"/var/log"
|
||||
"/root"
|
||||
];
|
||||
# fix failing check
|
||||
location = null;
|
||||
source_directories = [
|
||||
"/var/lib"
|
||||
"/var/log"
|
||||
"/root"
|
||||
];
|
||||
|
||||
repositories = [
|
||||
"ssh://root@192.168.10.2/mnt/backup/falkenstein"
|
||||
];
|
||||
};
|
||||
repositories = [
|
||||
{
|
||||
path = "ssh://root@192.168.10.2/mnt/backup/falkenstein";
|
||||
label = "nuc";
|
||||
}
|
||||
];
|
||||
storage = {
|
||||
encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.sops.secrets."borg/passphrase".path}";
|
||||
compression = "lz4";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue