chore: add restic secrets to .env
This commit is contained in:
parent
ed381c48ae
commit
46409b1c71
2
.env.example
Normal file
2
.env.example
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
B2_ACCOUNT_ID=
|
||||||
|
B2_ACCOUNT_KEY=
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue