boreal: get rid of git crypt secrets for this host

Also move to restic-backup
This commit is contained in:
Antoine Martin 2022-01-21 00:29:44 +01:00
parent 38fb614309
commit ceac41132e
7 changed files with 18 additions and 14 deletions

View file

@ -3,9 +3,6 @@
# and in the NixOS manual (accessible by running nixos-help).
{ config, lib, pkgs, ... }:
let
secrets = config.my.secrets;
in
{
imports =
[ # Include the results of the hardware scan.
@ -46,17 +43,12 @@ in
# List services that you want to enable:
my.services = {
borg-backup = {
restic-backup = {
enable = true;
repo = secrets.borg-backup.boreal-repo;
# for a workstation, having backups spanning the last month should be
# enough
prune = {
keep = {
daily = 7;
weekly = 4;
};
};
repo = "b2:boreal-backup";
passwordFile = config.age.secrets."restic-backup/boreal-password".path;
environmentFile = config.age.secrets."restic-backup/boreal-credentials".path;
paths = [
"/home/alarsyo"
];