diff options
Diffstat (limited to 'hosts/sachiel/configuration.nix')
| -rw-r--r-- | hosts/sachiel/configuration.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/sachiel/configuration.nix b/hosts/sachiel/configuration.nix index 0f7d28c..124e75d 100644 --- a/hosts/sachiel/configuration.nix +++ b/hosts/sachiel/configuration.nix @@ -170,10 +170,20 @@ overwriteProtocol = "https"; trusted_domains = [ "cloud.schererleander.de" ]; logtimezone = "Europe/Berlin"; + log_type = "file"; }; phpOptions."opcache.interned_strings_buffer" = "64"; }; + services.borgbackup.jobs.nextcloud = { + paths = "/var/lib/nextcloud"; + repo = "ssh://h8xn8qvo@h8xn8qvo.repo.borgbase.com/./repo"; + encryption.mode = "none"; + environment.BORG_RSH = "ssh -i /home/${username}/.ssh/borgbase-nextcloud"; + compression = "auto,lzma"; + startAt = "daily"; + }; + security.auditd.enable = true; security.audit = { enable = true; |
