Compare commits
2 commits
60b2580777
...
a7c48fee03
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a7c48fee03 | ||
![]() |
c769a8883e |
2 changed files with 2 additions and 6 deletions
Binary file not shown.
|
@ -1,13 +1,9 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
let
|
{
|
||||||
s3_bucketname = "rummepungen";
|
|
||||||
s3_url = "fsn1.your-objectstorage.com/${s3_bucketname}";
|
|
||||||
s3_path = "gerd_backup";
|
|
||||||
in {
|
|
||||||
services.restic = {
|
services.restic = {
|
||||||
backups.main = {
|
backups.main = {
|
||||||
repository = "s3:${s3_url}/${s3_path}";
|
repository = "b2:situla-${config.mine.shared.settings.brand_lower}:.";
|
||||||
|
|
||||||
passwordFile = config.age.secrets."restic-pass".path;
|
passwordFile = config.age.secrets."restic-pass".path;
|
||||||
environmentFile = config.age.secrets."restic-env".path;
|
environmentFile = config.age.secrets."restic-env".path;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue