add example file for secrets
This commit is contained in:
parent
c4a8a32545
commit
cd1d1d053a
1 changed files with 23 additions and 0 deletions
23
secrets.nix.example
Normal file
23
secrets.nix.example
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
aria2_config = {
|
||||||
|
rpc_secret = "<rpc secret for aria2>";
|
||||||
|
};
|
||||||
|
frp_config = {
|
||||||
|
ip = "<ip addess of server running frps>";
|
||||||
|
token = "<secret token for frps <-> frpc connection>";
|
||||||
|
};
|
||||||
|
caddy_config = {
|
||||||
|
email = "<email for certificate generation>";
|
||||||
|
};
|
||||||
|
users = {
|
||||||
|
root.hashedPassword = "<password hash of root user>";
|
||||||
|
primary = {
|
||||||
|
userName = "<primary non-root username>";
|
||||||
|
realName = "<primary user's full name>";
|
||||||
|
hashedPassword = "<password hash of primary user>";
|
||||||
|
pgpFingerprint = "<primary user's pgp fingerprint>";
|
||||||
|
emailAddress = "<primary user's email>";
|
||||||
|
sshPublicKey = "<ssh public key>";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue