yuki: remove restic

This commit is contained in:
notohh 2023-12-07 06:09:19 -05:00
parent 3681ec55f3
commit 853e55e953
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 0 additions and 38 deletions

View file

@ -1,11 +1,9 @@
{...}: {
imports = [
./restic.nix
./traefik.nix
./stash.nix
./jellyfin.nix
./wallos.nix
./homepage.nix
./glances.nix
];
}

View file

@ -1,36 +0,0 @@
{
pkgs,
config,
...
}: {
sops.secrets.restic-repo-pwd = {};
environment.systemPackages = [pkgs.restic];
services.restic = {
backups = {
yuki = {
paths = [
"/home"
];
exclude = [
"*.qcow2"
"*.iso"
"/home/*/Downloads"
"/home/*/.cache"
"/home/*/.local/share/Trash"
"/home/*/.local/share/.var"
];
pruneOpts = [
"--keep-daily=4"
"--keep-weekly=3"
"--keep-monthly=2"
];
initialize = true;
repository = "/nas/home";
passwordFile = config.sops.secrets.restic-repo-pwd.path;
timerConfig = {
OnCalendar = "daily";
};
};
};
};
}