Compare commits

..

3 commits

Author SHA1 Message Date
332cb78c00
Finalize borg 2024-05-05 14:32:58 -04:00
1bb5c19744
Update flake.lock agenix nix nixpkgs
Flake lock file updates:

• Updated input 'agenix':
    'github:ryantm/agenix/1381a759b205dff7a6818733118d02253340fd5e' (2024-04-02)
  → 'github:ryantm/agenix/24a7ea390564ccd5b39b7884f597cfc8d7f6f44e' (2024-04-26)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5c24cf2f0a12ad855f444c30b2421d044120c66f' (2024-04-19)
  → 'github:NixOS/nixpkgs/e9be42459999a253a9f92559b1f5b72e1b44c13d' (2024-05-03)
2024-05-05 13:06:36 -04:00
482910aa81
Add borg prune 2024-05-05 13:05:43 -04:00
3 changed files with 46 additions and 38 deletions

View file

@ -10,11 +10,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1712079060,
"narHash": "sha256-/JdiT9t+zzjChc5qQiF+jhrVhRt8figYH29rZO7pFe4=",
"lastModified": 1714136352,
"narHash": "sha256-BtWQ2Th/jamO1SlD+2ASSW5Jaf7JhA/JLpQHk0Goqpg=",
"owner": "ryantm",
"repo": "agenix",
"rev": "1381a759b205dff7a6818733118d02253340fd5e",
"rev": "24a7ea390564ccd5b39b7884f597cfc8d7f6f44e",
"type": "github"
},
"original": {
@ -241,11 +241,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1713537308,
"narHash": "sha256-XtTSSIB2DA6tOv+l0FhvfDMiyCmhoRbNB+0SeInZkbk=",
"lastModified": 1714763106,
"narHash": "sha256-DrDHo74uTycfpAF+/qxZAMlP/Cpe04BVioJb6fdI0YY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5c24cf2f0a12ad855f444c30b2421d044120c66f",
"rev": "e9be42459999a253a9f92559b1f5b72e1b44c13d",
"type": "github"
},
"original": {

View file

@ -29,7 +29,6 @@
#pkgs.atool
#pkgs.httpie
pkgs.webcord
pkgs.pika-backup
pkgs.tigervnc
pkgs.syncthing
pkgs.zsh-syntax-highlighting

View file

@ -50,43 +50,52 @@
encryption.mode = "repokey-blake2";
encryption.passCommand = "cat ${config.age.secrets.borg.path}";
compression = "auto,zstd";
prune.keep = {
within = "1d";
daily = 10;
weekly = 4;
monthly = 2;
};
readWritePaths = [ "/mnt/NAS-backup/insertpclinux-insert" ];
repo = "/mnt/NAS-backup/insertpclinux-insert";
user = "insert";
startAt = "daily";
doInit = false;
exclude = [
"^data.img$"
"^.Trash-100$"
"/node.repl_history"
"/.oldprofile"
"/.steampath"
"/mnt"
"/.steampid"
"/.zshenv"
"/.zshrc"
"/.android"
"/.compose-cache"
"/.docker"
"/.gradle"
"/.hyprland"
"/.java"
"/.kube"
"/.minecraft-bta"
"/.mozilla"
"/.nix-defexpr"
"/.nix-profile"
"/.nv"
"/.thunderbird"
"/.zsh"
"/Downloads"
"/.cache"
"/.var/app/*/cache"
"/.local/share/flatpak/repo/"
"/.local/share/Trash"
"/.local/share/libvirt"
"/.local/share/containers"
"/.local/share/flatpak/overrides"
"/.var/app/*/config/cache"
"/.var/app/*/config"
"*/node.repl_history"
"*/.oldprofile"
"*/.steampath"
"*/mnt"
"*/.steampid"
"*/.zshenv"
"*/.zshrc"
"*/.android"
"*/.compose-cache"
"*/.docker"
"*/.gradle"
"*/.hyprland"
"*/.java"
"*/.kube"
"*/.minecraft-bta"
"*/.mozilla"
"*/.pki"
"*/.nix-defexpr"
"*/.nix-profile"
"*/.nv"
"*/.thunderbird"
"*/.zsh"
"*/Downloads"
"*/.cache"
"*/.var/app/*/cache"
"*/.local/share/flatpak/repo/"
"*/.local/share/Trash"
"*/.local/share/libvirt"
"*/.local/share/containers"
"*/.local/share/flatpak/overrides"
"*/.var/app/*/config/cache"
"*/.var/app/*/config"
];
};