variables.sample.nix (725B)
1 { lib }: 2 3 rec { 4 user = rec { 5 fullname = "Peter"; 6 username = lib.strings.toLower fullname; 7 domain = "domain.com"; 8 email = "${username}@${domain}"; 9 timezone = "Europe/London"; 10 locale = "en_GB.UTF-8"; 11 postcode = "AA1 1AA"; 12 address = "123 Fake Street\n${postcode}\n${postcode}"; 13 }; 14 secrets = { 15 sshkey = "ssh-rsa yourpubkeyhere"; 16 sshport = 2222; 17 htpasswd = "caddy hash-password --plaintext "yourpassword" | base64 -w0"; 18 vpnusername = ""; 19 vpnpassword = ""; 20 todosecret = ""; 21 pdfpassword = ""; 22 privatekey = "path/to/private.key"; 23 zerotier = ""; 24 cloudflare = ""; 25 }; 26 syncthing = { 27 machine1 = "id-number-1"; 28 machine2 = "id-number-2"; 29 }; 30 }