chore: add restic secrets to .env

This commit is contained in:
Felix Schröter 2022-05-09 12:26:12 +02:00
parent ed381c48ae
commit 46409b1c71
Signed by: felschr
GPG key ID: 671E39E6744C807D
4 changed files with 5 additions and 2 deletions

2
.env.example Normal file
View file

@ -0,0 +1,2 @@
B2_ACCOUNT_ID=
B2_ACCOUNT_KEY=

1
.envrc
View file

@ -1 +1,2 @@
use flake use flake
dotenv

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
# using the restic cli: # using the restic cli:
# load credentials into shell via: export $(cat /path/to/credentials/file | xargs) # load credentials into shell by adding B2 secrets to .env (see .env.example).
# useful commands for analysing restic stats [snapshot-id], restic diff [s1] [s2], # useful commands for analysing restic stats [snapshot-id], restic diff [s1] [s2],
with lib; with lib;

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
# using the restic cli: # using the restic cli:
# load credentials into shell via: export $(cat /path/to/credentials/file | xargs) # load credentials into shell by adding B2 secrets to .env (see .env.example).
# useful commands for analysing restic stats [snapshot-id], restic diff [s1] [s2], # useful commands for analysing restic stats [snapshot-id], restic diff [s1] [s2],
with lib; with lib;