From e97169c2466e337d3187477e9ccefc3668fbecf6 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Mon, 30 Sep 2024 23:02:14 -0400 Subject: [PATCH] Add a secrets template for use by other people so it doesn't have to be completely reverse engineered --- extras/secrets-template.nix | 73 ++++++++++++++++++++++++++++++++++++ extras/secrets.nix | Bin 2892 -> 3046 bytes home/sway/hardware.nix | 2 +- 3 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 extras/secrets-template.nix diff --git a/extras/secrets-template.nix b/extras/secrets-template.nix new file mode 100644 index 0000000..bd7d892 --- /dev/null +++ b/extras/secrets-template.nix @@ -0,0 +1,73 @@ +{ + # Define domains + jimDomain = ""; + + # User account passwords, generated with 'mkpasswd -m sha-512' + jimboAccPass = ""; + + # External emails + jimUsername = ""; + jimEmail = ""; + + # SSH Keys + jimKeys = [ + "" + "" + ]; + + # System timezone in standard timezone identifier format + timeZone = ""; + + # Cloudflare API key + flareApiKey = ""; + + # Wireguard keys, generated with the wg command + wgServerPriv = ""; + wgServerPub = ""; + wgClientPriv = ""; + wgClientPub = ""; + wgPixel9Pub = ""; + wgOraclePub = ""; + + # Icecast, plaintext + castAdminPass = ""; + castSourcePass = ""; + + # Photoprism, plaintext + prismAdminPass = ""; + + # Matrix secrets + matrixSecret = ""; + discordBotID = ""; + discordBotToken = ""; + + # Pixelfed secret, must be 32 characters long + pixelfedKey = '' + APP_KEY= + ''; + + # Transmission credentials, plaintext + transmissionCredFile = '' + { + "rpc-username": "", + "rpc-password": "" + } + ''; + + # Email cleartext passwords + noreplyPassword = ""; + + # Email account hashes, generated with 'mkpasswd -m bcrypt' + noreplyMailHash = ""; + jimboMailHash = ""; + lunaMailHash = ""; + freecornMailHash = ""; + tinyMailHash = ""; + + # IPs + jimIP1 = ""; + jimIP2 = ""; + lunaIP = ""; + cornIP = ""; + vertIP = ""; +} diff --git a/extras/secrets.nix b/extras/secrets.nix index c1098f85b5173116ba4bcb0e0b7043990ece35cf..30312f92dd836559c0241795ef390e7a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2nJ~hoP;Blj3@lFs`9{_ui6BIHsij~U9aUS$H?e*p6 zW4>I3RF%sp6D02#-T;h8RmTa{qb|g2L{x(nowsoxvnjddgiA1(<$EfAD3!!|g;WTj z;rV;}+b61b>TYP_(1c4)3PZ!<_l7X8=a@`;HoCg1?iCvL?|zjrfyf_@^zh?(kUov}K(V=mYA zo?Up&cIC+9B9U8{5A3Dgwz%ZGX#=@jwL10Nf-UGp#v7X#!Ry@*~*7p*>2 z^{2t`(}TxGTwlSY zK{XI|kmmazJ`fafZv}m6pQl`AF))RFv zt(~$%U=-^g&kW&t^^26RXC=Q6?B44~Ke6Tg98Z z2I{8+45yEU_E=r%i8}L{%>kaGNCu=KFWt(UXiizGxwQ*dlS(_cEIuy zd;hy)e|EUEL@Ysy1z){xh|4ow-^qU=YB90N*`S4PLg43TXl&RC`I=>h$&D*Ab|RnT0e?%CTtQ5k@YnN#OZRs$E|{1+kCMR+4F`)ixkg~;-%200n!GmKJ9ar<>PJwL+&R?^(?i$394;xracp^uGvK#RQT qPw$VE1PtJ;3ull9Vk;$LBEf!1@9Ou|SmXfZFLvjhQMRjgTppdWt diff --git a/home/sway/hardware.nix b/home/sway/hardware.nix index 3a8d8e8..dc0b332 100644 --- a/home/sway/hardware.nix +++ b/home/sway/hardware.nix @@ -8,8 +8,8 @@ mode = "1920x1080@143.980Hz"; max_render_time = "3"; bg = "~/.wallpapers/1.png fill"; - scale = "1"; adaptive_sync = "on"; + #tearing_allowed = "1"; }; ${outputs.displays.d2} = { pos = "0 405";