remove agenix

This commit is contained in:
2025-06-24 23:09:34 -07:00
parent 4560acb90b
commit 73b56555a6
8 changed files with 47 additions and 159 deletions

View File

@@ -1,51 +1,53 @@
{ homeDirectory, borgPasswordFile }:
{ pkgs, homeDirectory, ... }:
{
programs.borgmatic = {
enable = true;
package = pkgs.borgmatic;
backups = {
home = {
location = {
sourceDirectories = (
map (f: "${homeDirectory}/${f}") [
".zen"
".local/share/fish"
".ssh"
"Documents"
"projects"
"Pictures"
"school"
]
++ (map (f: ".config/Signal/${f}") [
"stickers.noindex"
"attachments.noindex"
"downloads.noindex"
"drafts.noindex"
"sql"
"IndexedDB"
"Local Storage"
"SharedStorage"
"config.json"
"ephemeral.json"
"Preferences"
])
);
home = {
location = {
sourceDirectories = (
map (f: "${homeDirectory}/${f}") [
".zen"
".local/share/fish"
".ssh"
"Documents"
"projects"
"Pictures"
"school"
]
++ (map (f: ".config/Signal/${f}") [
"stickers.noindex"
"attachments.noindex"
"downloads.noindex"
"drafts.noindex"
"sql"
"IndexedDB"
"Local Storage"
"SharedStorage"
"config.json"
"ephemeral.json"
"Preferences"
])
);
excludeHomeManagerSymlinks = true;
repositories = [ "ssh://server-public/tank/bak/laptop" ];
excludeHomeManagerSymlinks = true;
repositories = [ "ssh://server-public/tank/bak/laptop" ];
extraConfig = {
compression = "zstd";
extraConfig = {
compression = "zstd";
};
};
retention = {
keepHourly = 48;
keepDaily = 30;
keepWeekly = 26;
keepMonthly = 24;
keepYearly = 10;
};
};
};
retention = {
keepHourly = 48;
keepDaily = 30;
keepWeekly = 26;
keepMonthly = 24;
keepYearly = 10;
};
storage = {
encryptionPasscommand = "cat ${borgPasswordFile}";
};
};
}