char/flake

nixos flake

git clone https://git.t4t.associates/char/flake

Charlotte Somonyx: set up borg6419c77

main
418 B19 linesraw
1{ ... }: {
2  services.borgbackup.jobs.onyx = {
3    paths = [
4      "/home/charlotte/.ssh/id_ed25519"
5      "/home/charlotte/.ssh/id_ed25519.pub"
6    ];
7    repo = "borg@runestone.bunny-hops.ts.net:~/onyx";
8    encryption = {
9      mode = "keyfile";
10      passCommand = "cat /x/secrets/borg_password";
11    };
12    startAt = "daily";
13    prune.keep = {
14      daily = 7;
15      weekly = 4;
16      monthly = 6;
17    };
18  };
19}