diff --git a/config/dns.nix b/config/dns.nix index 30f2b85..0e96e8e 100644 --- a/config/dns.nix +++ b/config/dns.nix @@ -43,12 +43,12 @@ # r_type = "CNAME"; # value = "optimus"; # } - { - record = "bumblebee"; - r_type = "A"; - value = "193.1.99.91"; - server = true; - } +# { +# record = "bumblebee"; +# r_type = "A"; +# value = "193.1.99.91"; +# server = true; +# } { record = "minecraft.compsoc.games"; r_type = "CNAME"; diff --git a/flake.nix b/flake.nix index 6699f9e..65b0d23 100644 --- a/flake.nix +++ b/flake.nix @@ -149,8 +149,11 @@ # metrics ariia = import ./machines/ariia.nix; - # games server - panel/host + # games server - panel optimus = import ./machines/optimus.nix; + + # games server - host + bumblebee = import ./machines/bumblebee.nix; }; }; } diff --git a/machines/bumblebee.nix b/machines/bumblebee.nix new file mode 100644 index 0000000..fcdf70f --- /dev/null +++ b/machines/bumblebee.nix @@ -0,0 +1,50 @@ +/* + +Name: https://en.wikipedia.org/wiki/Optimus_Prime +Why: Created to sell toys so this vm is for games +Type: VM +Hardware: - +From: 2023 +Role: Game host +Notes: +*/ +{ + pkgs, + lib, + nodes, + arion, + ... +}: let + # name of the server, sets teh hostname and record for it + name = "bumblebee"; + ip_pub = "193.1.99.91"; + hostname = "${name}.skynet.ie"; + host = { + ip = ip_pub; + name = name; + hostname = hostname; + }; +in { + imports = [ + ../applications/pelican/pelican.nix + ]; + + deployment = { + targetHost = hostname; + targetPort = 22; + targetUser = null; + + tags = ["active"]; + }; + + services.skynet = { + host = host; + backup.enable = true; + pelican = { + wing = { + enable = true; + node_name = "node01"; + }; + }; + }; +} diff --git a/secrets/backup/restic.age b/secrets/backup/restic.age index 75ee0c0..1910186 100644 Binary files a/secrets/backup/restic.age and b/secrets/backup/restic.age differ diff --git a/secrets/discord/token.age b/secrets/discord/token.age index a346d9b..1550f8c 100644 Binary files a/secrets/discord/token.age and b/secrets/discord/token.age differ diff --git a/secrets/dns_certs.secret.age b/secrets/dns_certs.secret.age index 02a18dc..f146486 100644 --- a/secrets/dns_certs.secret.age +++ b/secrets/dns_certs.secret.age @@ -1,51 +1,51 @@ age-encryption.org/v1 --> ssh-ed25519 V1pwNA ikotG+f48KCxKj5DIdhwIEYHtspuBfGj9DvlXLchllk -TQ8OlL5uDpwnjveBk1RbpB+cCOpqlPQtOu7c0/LRiqw --> ssh-ed25519 4PzZog ptPetu+OMhjcqwIZD2EtPWojceX/p+xFRu8SdFBEBzk -5HKDrQTBiv+hTKhkLtnYOq7sUO8+dKOS52bXGjGXwxI --> ssh-ed25519 dA0vRg nQ1GTSQwHt806xrFMyqwQ86iBSLbgGDIL+GIWMD3AFw -OPyLNOxp5k40I4WvDStpKun/AdOuWZyEQLPyyFdqtcE --> ssh-ed25519 5Nd93w uYt44+U3T3DOThXDGvl5WPDPGj506O2Fc271qlw/lBo -tcRUll9+PIfcvcdvIzD8fcIU85+d8lw7ThPetfq24nU --> ssh-ed25519 q8eJgg wLIZSQp/YAKSohUD5NsbADyYua8p2qik9lRlzdvZuSk -f/b9Jt8Qk7dcor+5xczk7zRzOxTgknGYstcLQv7ztJA --> ssh-ed25519 KVr8rw InbHZ+pieHIQGGW3LOOfYHS+RkuXRMzxMblHHLOV9Cs -0oHx4kyD8AW5vgpds6EirGHeYznJ+z2WiGmn7+6bPww --> ssh-ed25519 fia1eQ UTuEfUIL1xVc5W/HSXpVvPxeQriwC6Tot1G0vRaT1XM -6mWM2A8DVPMKzp7ccqTj+3go39xsyKIHuu4zZypHD9c --> ssh-ed25519 /Gb5gQ Q6uPEnhxFPRulsd5YWVXfrVUJqSN3oM02g4yK2IYUQc -qqcy7z7RohVz/GDpB2FfjE2V42Bs023N6+G4qIJN9Bo --> ssh-ed25519 NtlN/A F4k9xBWDxeIS+v+DldjlN5e0WQmKH7Pt23XnKxkxTVQ -PgCuox8LSeYaamogydWcXyP4aVCQadeVfnjnFngWC+A --> ssh-ed25519 v2Y09A Dq/SngPnj9Or0XiVOoo7EQNdsh9mby1F9v2zSZOfMH8 -Y6J+nWC58lxZKc+wMFUGeymONf9LOxJhMonP1Vo/LMo --> ssh-ed25519 XSrA6w KnF8xhrzss3txgoF0JK84/M7b81NuFeB9Ir4590LYRw -jilyzwKpL/A4CmO/hMOMjZqPfwGsNYsngAw2trX7hKM --> ssh-ed25519 DVzSig A4EU6+2yqw3S2ISYUBbZYOq4xBEfXoEy1fTUhTzGXV8 -c6CyaaBcdHA6ZNdJApUcQT/ED0hQYPqqyvPF+zwCLME --> ssh-ed25519 MhHMYA ixDHJ+PFXFxsCu41Ye2Vwlk8wVlXofq2ztKIU9qxH0k -8JBxpk9/nQqR2y6i8GU9PpoHfyitJwIHxMr8nb2Y5As --> ssh-ed25519 uZzB3g zZAxSWF9i6321ifYiizQn6kvadhQ17/fNkYSgOyR+x4 -H5jsIQmgVgRoMRRQ11K17eD9HqU78CpKu5ylkgqrtq8 --> ssh-ed25519 CqOTGQ TzL9qPqBl8M3d9whmAaBgx3Wo/hPKc7Q/P6Kt3pPxn4 -BTnEU/156/8BKqdFcWisleg/K69RIiMaNDg6h9MX9og --> ssh-ed25519 IzAMqA +w67jWJmcVuPwjlkKn5Y/ryZBzA7ZzLl4va6KxfMm1I -mO9xeZV3RYUbGu5TJfnRAaJumAzM5u3wmIByawDdFn4 --> ssh-ed25519 Hb0ipQ y/srd2GpXb5EMVySg3BYOr+41u/NnJlx/2sQlhRyEg8 -s3Se3Rf8N4WqP6QdmkAmNtgZKgsvmuWfiOpC6pKGNuo --> ssh-ed25519 3pl/Kw u+QbsaYgVdhbsYBlbuusG/1nOXQ3PLCwtwWE2nUTUFQ -laEpITIyaNx7opXwqT9SHo9qNWCRH0WozQYt8SW1cz0 --> ssh-ed25519 SqDBmA 0dlLmNcgAOBOUrVUT/t0oaF+AcXUWqkDN3fu64rLx0A -y9Xw6atnsCX66Q+iIMHwsq8vxeL4kxTihIbMut+JMlA --> ssh-ed25519 UE6fcQ qBrP+r+1jy06z90mQgk05zLog586HGUMDgHTbExoMj0 -TnZAUZUNNIAJzd8Efqb7KqR/n26YXr4jV6zPvZXu4eA --> ssh-ed25519 YFaxCg SXGoMkrpgduoXNIZXDy93gkzlnKtr1fAOQJxZDcZ6Q8 -jKdd+OufjXk1UYsXcJc/Q4JeiRhCcHW2nrDuBrHu/pw --> ssh-ed25519 elCEeg jPd0A53zK9OFThb4pCF30/My3QxiwGyGiDp64ob1vWA -L0Rj+47bdVVwii4LIMoI2by9qmzk4H1kHoyEc7rUO9w --> ssh-ed25519 8vZ9CQ lgEkLneoENKWwNXRtXRbN5VSm1joh7NDSSUn/bp/81k -X2A6sHl6dFe2p9hfVINA1G6nR8lqMQNjBKc1FvM9cnE --> ssh-ed25519 rmrvjw NX2NPt0SVGc3+2p/ob735mUIb4t9nhwUrdbdFk8CnSY -sL3zmOASMti3QcIfa0CGEcJex95qGX4aeIqO5LS1LFg ---- 9+vokggbkBI5tk1kvqpdPkePahvTIcYWtU1MU1zTyCs -{.xXq55˱{Gzᆄ6 :p6[YUQ`ؼaRS]ucYXH"h 7ޅ6چo=*GiɨLA?ĆÛTpaKa2 n`\N34XrʴI9Adq \ No newline at end of file +-> ssh-ed25519 V1pwNA nMGYHPjBRQ+8FE2j3JLTb2gfqxFvEDSF5XKvVYILgS4 +xoFB5NeaXLMQhM9ELoooDNNnrjJWFCA+f45Y+YtAOBs +-> ssh-ed25519 4PzZog zuhv6HbfpcIlcueD6SyHD7hRcrPnvMDy1hvXcXTLEBY +VI6ZX5745Tsv1AMvjPKrHWEI2YO4rCVtAMDWLQrzsFs +-> ssh-ed25519 dA0vRg U1zhPjiM0ANz4i9iRSaX9ut/kACtrH/uk4VYk/Cmtx4 +DryI/XiQeggMAIBu4Qb9P7Od4cnQUNFFuim2OKwib5M +-> ssh-ed25519 5Nd93w VICIqg3swkEAagNzDppCX2/lDMh5D/pYqi8wjL9ilH8 +DLcvw4k9r1RDrueCD/vqX1iEL55hxld3eJr5MCS7YNE +-> ssh-ed25519 q8eJgg DyH3qYX/PfoltL0P2lBzP4wwH/VmYusidfD7MaS1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SI\[G3.Uz û4Eʌ \) eX}HfX1S){x+c13mck? h:b2gB@ϝ-'F/ #H+Ԗs<KCQ˧ie;-kRx= (#}ine \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix index f473e25..ca7480f 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -21,7 +21,6 @@ let vendetta = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFvcxiSYE38V1IopHj7Z7ZWP1IqnskYCdhj8yCQohVUM root@vendetta"; vigil = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICDsz1bjNAThqwF48dKIJGOECsCKHTj/Gn5Gh9XyzoSO root@vigil"; galatea = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII3Mke5YtaMkLvXJxJ3y7YAIEBesoJk3qJyJsnoLUWgW root@galatea"; - optimus = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIqYbbWy3WWtxvD96Hx+RfTx7fJPPirIEa5bOvUILi9r root@optimus"; glados = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ6go7ScvOga9vYqC5HglPfh2Nu8wQTpEKpvIZuMAZom root@glados"; wheatly = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIPlgCGtyvd3xwYg9ZNyjTJNB/LvUSJO01SzN8PGcDLP root@wheatly"; kitt = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPble6JA2O/Wwv0Fztl/kiV0qj+QMjS+jTTj1Sz8k9xK root@kitt"; @@ -33,7 +32,8 @@ let marvin = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIAme2vuVpGYX4La/JtXm3zunsWNDP+SlGmBk/pWmYkH root@marvin"; calculon = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGsmeBfh4Jw2GOL7Iyswzn4TVNzalDbxDgh7WuQotFxR root@calculon"; ariia = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA4kV6W1/tP/nf2ZWNhRoV1mK04R4pS+c5vdsA1n5gpN root@ariia"; - optimus-test = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFv0Hb4qfzXUll+Hct1NQOE0bCf0MpE24Cqskd8vAFyj root@optimus-test"; + optimus = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFv0Hb4qfzXUll+Hct1NQOE0bCf0MpE24Cqskd8vAFyj root@optimus"; + bumblebee = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINF31tsOZTEpPFCu4wZvJjxxvgFhRpxvo9SKyDMNWHZu root@bumblebee"; systems = [ agentjones @@ -41,7 +41,7 @@ let vigil galatea optimus - optimus-test + bumblebee glados wheatly kitt @@ -83,28 +83,6 @@ let ariia ]; - # these need dns stuff - webservers = - [ - # ULFM - galatea - # Games - optimus - optimus-test - # skynet is a webserver for users - skynet - # our offical server - earth - - # nix - - calculon - ] - # ldap servers are web facing - ++ ldap - ++ gitlab - ++ nextcloud; - restic = [ neuromancer ];