configuration.nix/secrets.nix.example

20 lines
587 B
Text
Raw Normal View History

2023-08-05 14:11:03 +05:30
{
2024-03-31 22:30:59 +05:30
wireguard_server = {
name = "<a name for the peer>;
endpoint = "<endpoint>:<port>";
publicKey = "<public key>";
2023-08-05 14:11:03 +05:30
};
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>";
};
};
2024-01-04 21:51:21 +05:30
phone.sshPublicKey = "<ssh public key from phone>";
2023-08-05 14:11:03 +05:30
}