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

View file

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

View file

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