boreal: get rid of git crypt secrets for this host
Also move to restic-backup
This commit is contained in:
parent
38fb614309
commit
ceac41132e
7 changed files with 18 additions and 14 deletions
|
|
@ -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"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue