about summary refs log tree commit diff
path: root/lib/my.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/my.nix50
1 files changed, 25 insertions, 25 deletions
diff --git a/lib/my.nix b/lib/my.nix
index 165074b..92727af 100644
--- a/lib/my.nix
+++ b/lib/my.nix
@@ -107,32 +107,32 @@ with lib;
           };
           email = "frodo@${my.domain.gondor}";
           pgp = {
-            key = "[REDACTED]";
-            fingerprint = "[REDACTED]";
-            grip = "[REDACTED]";
+            key = "@PGP_KEY@";
+            fingerprint = "@PGP_FINGERPRINT@";
+            grip = "@PGP_GRIP@";
           };
           ssh = rec {
             type = "ed25519";
             id = my.email;
-            key = "ssh-${type} [REDACTED] ${id}";
+            key = "ssh-${type} @PUBLIC_KEY@ ${id}";
           };
-          hashedPassword = "[REDACTED]";
+          hashedPassword = "@HASHED_PASSWORD@";
 
           configurations = {
             manwe = {
               isHeadless = true;
               ipv4 = {
-                address = "[IPv4]";
-                gateway = "[IPv4]";
+                address = "@IPV4_ADDRESS@";
+                gateway = "@IPV4_ADDRESS@";
               };
               ipv6 = {
-                address = "[IPv6]";
-                gateway = "[IPv6]";
+                address = "@IPV6_ADDRESS@]";
+                gateway = "@IPV6_ADDRESS@";
               };
               wireguard = {
                 ipv4.address = "10.69.0.1";
                 ipv6.address = "fd69::0:1";
-                publicKey = "[REDACTED]";
+                publicKey = "@PUBLIC_KEY@";
               };
               domains = with my.domain; [
                 "alertmanager.${shire}"
@@ -151,17 +151,17 @@ with lib;
             varda = {
               isHeadless = true;
               ipv4 = {
-                address = "[IPv4]";
-                gateway = "[IPv4]";
+                address = "@IPV4_ADDRESS@";
+                gateway = "@IPV4_ADDRESS@";
               };
               ipv6 = {
-                address = "[IPv6]";
-                gateway = "[IPv6]";
+                address = "@IPV6_ADDRESS@";
+                gateway = "@IPV6_ADDRESS@";
               };
               wireguard = {
                 ipv4.address = "10.69.1.1";
                 ipv6.address = "fd69::1:1";
-                publicKey = "[REDACTED]";
+                publicKey = "@PUBLIC_KEY@";
               };
               domains = with my.domain; [
                 "radicale.${shire}"
@@ -171,38 +171,38 @@ with lib;
             yavanna = {
               isHeadless = true;
               ipv4 = {
-                address = "[IPv4]";
-                gateway = "[IPv4]";
+                address = "@IPV4_ADDRESS@";
+                gateway = "@IPV4_ADDRESS@";
               };
               ipv6 = {
-                address = "[IPv6]";
-                gateway = "[IPv6]";
+                address = "@IPV6_ADDRESS@";
+                gateway = "@IPV6_ADDRESS@";
               };
               wireguard = {
                 ipv4.address = "10.69.1.2";
                 ipv6.address = "fd69::1:2";
-                publicKey = "[REDACTED]";
+                publicKey = "@PUBLIC_KEY@";
               };
               domains = with my.domain; ["flood.${shire}"];
-              syncthing.id = "[Syncthing ID]";
+              syncthing.id = "@SYNCTHING_ID@";
             };
             melian = {
               isHeadful = true;
               wireguard = {
                 ipv4.address = "10.69.4.1";
                 ipv6.address = "fd69::4:1";
-                publicKey = "[REDACTED]";
+                publicKey = "@PUBLIC_KEY@";
               };
-              syncthing.id = "[Syncthing ID]";
+              syncthing.id = "@SYNCTHING_ID@";
             };
             gothmog = {
               isOther = true;
               wireguard = {
                 ipv4.address = "10.69.5.1";
                 ipv6.address = "fd69::5:1";
-                publicKey = "[REDACTED]";
+                publicKey = "@PUBLIC_KEY@";
               };
-              syncthing.id = "[Syncthing ID]";
+              syncthing.id = "@SYNCTHING_ID@";
             };
           };
         };

Consider giving Nix/NixOS a try! <3