Compare commits
No commits in common. "e46677a3f6ac9354ea0e380fe1b952c85d0855dc" and "ac463949c781f041c8db5cbb2d564a0b911ee564" have entirely different histories.
e46677a3f6
...
ac463949c7
3 changed files with 3 additions and 10 deletions
|
@ -42,21 +42,14 @@ in {
|
|||
];
|
||||
|
||||
services.restic.backups = lib.mkIf (inputs ? nix-secrets) {
|
||||
local = {
|
||||
repositoryFile = "/backup/restic/";
|
||||
remote = {
|
||||
repositoryFile = config.sops.secrets.restic-url.path;
|
||||
passwordFile = config.sops.secrets.restic-password.path;
|
||||
initialize = true;
|
||||
paths = [
|
||||
"/storage/syncthing"
|
||||
"/storage/factorio"
|
||||
];
|
||||
pruneOpts=[
|
||||
"--keep-within 14d"
|
||||
"--keep-daily 14"
|
||||
"--keep-weekly 8"
|
||||
"--keep-monthly 12"
|
||||
"--keep-yearly 10"
|
||||
];
|
||||
timerConfig = {
|
||||
OnCalendar = "daily";
|
||||
Persistent = true;
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
home.packages = with pkgs; [
|
||||
sshfs
|
||||
just
|
||||
dua
|
||||
fd
|
||||
sd
|
||||
curl
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
home.packages = with pkgs; [
|
||||
tre-command
|
||||
hyperfine
|
||||
dua
|
||||
fclones
|
||||
libqalculate
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue