Compare commits

...

2 commits

Author SHA1 Message Date
1e3da21ddb
sops: update secrets
All checks were successful
flake check / check (push) Successful in 4m36s
fmt check / check (push) Successful in 1m8s
2024-01-15 02:41:58 -05:00
4397798b73
restic: update 2024-01-15 02:41:52 -05:00
2 changed files with 12 additions and 6 deletions

View file

@ -6,6 +6,9 @@
sops.secrets.restic-ame = { sops.secrets.restic-ame = {
sopsFile = ../../../secrets/restic/secrets.yaml; sopsFile = ../../../secrets/restic/secrets.yaml;
}; };
sops.secrets.ame-s3 = {
sopsFile = ../../../secrets/s3/secrets.yaml;
};
environment.systemPackages = [pkgs.restic]; environment.systemPackages = [pkgs.restic];
services.restic = { services.restic = {
backups = { backups = {
@ -26,15 +29,17 @@
"/home/*/.local/share/.var" "/home/*/.local/share/.var"
]; ];
pruneOpts = [ pruneOpts = [
"--keep-daily=4" "--keep-daily=7"
"--keep-weekly=3" "--keep-weekly=6"
"--keep-monthly=2" "--keep-monthly=5"
]; ];
initialize = true; initialize = true;
repository = "/nas/restic"; repository = "s3:https://s3.flake.sh/restic-ame";
passwordFile = config.sops.secrets.restic-ame.path; passwordFile = config.sops.secrets.restic-ame.path;
environmentFile = config.sops.secrets.ame-s3.path;
timerConfig = { timerConfig = {
OnCalendar = "daily"; OnCalendar = "daily";
Persistent = true;
}; };
}; };
}; };

View file

@ -1,4 +1,5 @@
sora-s3: ENC[AES256_GCM,data:znp8K3XIHjKe5RpYTDZ9aNbA//fMlIDMkSUD3RWDs5DSOSHDFdS3+g9xpPJcrHfy/xI9+td/seY05dYBePMURuWhnlmNKgvGv5R3r3CYPs2MBSbYemfDDiKJdjWH8SIYEx9GAWm2,iv:QUXA7lm/kdzJDeDvJfp4xSeKfrokOXldp7ZNaQM3Nyk=,tag:t/vnO4EkWkVdWTgEDC/QYQ==,type:str] sora-s3: ENC[AES256_GCM,data:znp8K3XIHjKe5RpYTDZ9aNbA//fMlIDMkSUD3RWDs5DSOSHDFdS3+g9xpPJcrHfy/xI9+td/seY05dYBePMURuWhnlmNKgvGv5R3r3CYPs2MBSbYemfDDiKJdjWH8SIYEx9GAWm2,iv:QUXA7lm/kdzJDeDvJfp4xSeKfrokOXldp7ZNaQM3Nyk=,tag:t/vnO4EkWkVdWTgEDC/QYQ==,type:str]
ame-s3: ENC[AES256_GCM,data:7yAibzwRnj3ntwSC/zDw/k2q+bacsUMl4byNq96hGDYeEoBnjo0hrjtA5Sm9hzKY5Aa1j52AONdYZ3p2M7RW9lzCKt4W5/0YBenI7kUWMFVDQfR18Z56MlcNtgyIGnxdK0NXS5jZ,iv:XMI6hkQ36H0RqTvzlqgloMT1BI0TKz5hJlI9hZ+GeEo=,tag:kVviHYX3jh8gTjRHxC7fFg==,type:str]
sops: sops:
kms: [] kms: []
gcp_kms: [] gcp_kms: []
@ -14,8 +15,8 @@ sops:
bE85dXI2VVN1Z2c0ZFQvdkQwM3FGbUkKWy5O+mqHTokLVV5FQ4UziVBadxpymX9D bE85dXI2VVN1Z2c0ZFQvdkQwM3FGbUkKWy5O+mqHTokLVV5FQ4UziVBadxpymX9D
BHUoDve8WgKFkRCY46ibnYofIumJqYRiHXPSUN46QQMg0GDma3jWRA== BHUoDve8WgKFkRCY46ibnYofIumJqYRiHXPSUN46QQMg0GDma3jWRA==
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----
lastmodified: "2024-01-15T06:33:26Z" lastmodified: "2024-01-15T07:39:16Z"
mac: ENC[AES256_GCM,data:zdj5OyDS926jpN2XLbKOzawbjhef6ik+9SvC3BFNvTId8KdlLoTy63YdHDuA6u9MPw0WNV1SYK7enyUJP+ZRzHk9hljwYzaXjC7PLGVoFssZ6nzEC4zk45fwTyeezL6f0IyRsenwB/2wmp+9N6sdWlLRHbLyVB5tVyUFV1VN+f4=,iv:Toshzs/ymReZkc6CRDmdXOUgumGmZSWwXenKWeNLJ1I=,tag:1kEzxhFwJlLFeQ59FH/ytw==,type:str] mac: ENC[AES256_GCM,data:qAwtUv3U5d0oY5GeiWoirZZsDpfEtgrgqxYHZvfbnQq9AMA7YERNjY4bvmwRQgmq1ZQ0F8E4opa6k9d+eeOCRqExip1Y8RI6BjuiMg6Ksn1lLLfGkDWDXeu8s4XILXKYkV5pZOqsnvdKo9dzCiiVGHTMFxRy8wXCbNaAPsjFaFI=,iv:kVl4GjwKaJMVNJohwiCAD64ogGkLC+jjQkS8arUslI8=,tag:OATDDGBiwT7boXm6OpJCYA==,type:str]
pgp: [] pgp: []
unencrypted_suffix: _unencrypted unencrypted_suffix: _unencrypted
version: 3.8.1 version: 3.8.1