Compare commits
No commits in common. "81621b62901018a4b90700d649ef6f0d7f19501d" and "1abf59fb4c624366d4eae603b2fc6aec8b55fd7e" have entirely different histories.
81621b6290
...
1abf59fb4c
6 changed files with 19 additions and 21 deletions
|
|
@ -314,11 +314,11 @@
|
|||
"nixpkgs": "nixpkgs_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765201597,
|
||||
"narHash": "sha256-U2qQz4nT90J7rCi0tjWuAUH0L4XQfw6pTDBVG1gb7YI=",
|
||||
"lastModified": 1762785534,
|
||||
"narHash": "sha256-Xjn0Wq1ucfDwOV8Z3HkGMn3vMeI3wTIH9vLmXUSBobU=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "524fd38551f5d459f984c45b6225e729371c107e",
|
||||
"revCount": 56,
|
||||
"rev": "1fda2dc905e1a8c765d1331d83327c47a895bb60",
|
||||
"revCount": 53,
|
||||
"type": "git",
|
||||
"url": "ssh://git@git.catgirl.dog/etwas/private-nix-configs"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
spicetify-nix,
|
||||
|
|
@ -47,6 +48,11 @@
|
|||
./misc_pkgs
|
||||
./wm
|
||||
];
|
||||
|
||||
services.restic.backups.localbackup = {
|
||||
passwordFile = config.age.secrets.restic-password.path;
|
||||
environmentFile = config.age.secrets.restic-s3-key.path;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./git.nix
|
||||
./keyring.nix
|
||||
./restic.nix
|
||||
./ssh.nix
|
||||
./zsh.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,36 +1,29 @@
|
|||
{ config, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
services.restic = {
|
||||
enable = true;
|
||||
|
||||
backups = {
|
||||
localbackup = {
|
||||
passwordFile = config.age.secrets.restic-password.path;
|
||||
environmentFile = config.age.secrets.restic-s3-key.path;
|
||||
|
||||
exclude = [
|
||||
"home/*/.local/share/libvirt"
|
||||
"home/*/.local/share/Steam"
|
||||
"home/*/.local/share/Trash"
|
||||
"home/*/Android"
|
||||
".cache"
|
||||
".mozilla"
|
||||
"/home/$USER/.cache"
|
||||
"/home/$USER/.local/share/libvirt"
|
||||
"/home/$USER/.local/share/Steam"
|
||||
"/home/$USER/.local/share/Trash"
|
||||
"/home/$USER/Android"
|
||||
".venv"
|
||||
"venv"
|
||||
".direnv"
|
||||
".git"
|
||||
];
|
||||
|
||||
initialize = true;
|
||||
|
||||
paths = [
|
||||
"/home"
|
||||
];
|
||||
|
||||
extraBackupArgs = [
|
||||
"--one-file-system"
|
||||
];
|
||||
|
||||
repository = "s3:https://s3.filmsli.de/restic-framework";
|
||||
|
||||
pruneOpts = [
|
||||
"--keep-daily 7"
|
||||
"--keep-weekly 4"
|
||||
|
|
@ -95,7 +95,6 @@
|
|||
usbmuxd
|
||||
dig
|
||||
w3m
|
||||
whois
|
||||
inetutils
|
||||
|
||||
# virtualization
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
./auth.nix
|
||||
./docker.nix
|
||||
./printing.nix
|
||||
./restic.nix
|
||||
./wm.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue