Compare commits

..

No commits in common. "e46677a3f6ac9354ea0e380fe1b952c85d0855dc" and "ac463949c781f041c8db5cbb2d564a0b911ee564" have entirely different histories.

3 changed files with 3 additions and 10 deletions

View file

@ -42,21 +42,14 @@ in {
]; ];
services.restic.backups = lib.mkIf (inputs ? nix-secrets) { services.restic.backups = lib.mkIf (inputs ? nix-secrets) {
local = { remote = {
repositoryFile = "/backup/restic/"; repositoryFile = config.sops.secrets.restic-url.path;
passwordFile = config.sops.secrets.restic-password.path; passwordFile = config.sops.secrets.restic-password.path;
initialize = true; initialize = true;
paths = [ paths = [
"/storage/syncthing" "/storage/syncthing"
"/storage/factorio" "/storage/factorio"
]; ];
pruneOpts=[
"--keep-within 14d"
"--keep-daily 14"
"--keep-weekly 8"
"--keep-monthly 12"
"--keep-yearly 10"
];
timerConfig = { timerConfig = {
OnCalendar = "daily"; OnCalendar = "daily";
Persistent = true; Persistent = true;

View file

@ -21,7 +21,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
sshfs sshfs
just just
dua
fd fd
sd sd
curl curl

View file

@ -21,6 +21,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
tre-command tre-command
hyperfine hyperfine
dua
fclones fclones
libqalculate libqalculate
]; ];