diff --git a/hosts/celaeno/secrets.yaml b/hosts/celaeno/secrets.yaml index d1e865b7..2b21c9d0 100644 --- a/hosts/celaeno/secrets.yaml +++ b/hosts/celaeno/secrets.yaml @@ -1,7 +1,6 @@ hydra-gh-auth: ENC[AES256_GCM,data:uMtWppVa2nydZGerzv5mRYhU6L+L9t12ABlRXgsboyRVmjkqbJJ78o0whgaGJZjlHLVsb4vqqDUn4btD9I5Lt6KwplU/tnvSyx+F/qebQ2mXyyJHjs59GIS6Q7vh9rY8wB8mNPRN7N6fr8dQhk2VpkzMxnl+UqzJi0rBSgTcsElpqZ6QUZdwDr3AHOTzbrh8urde2A4yn1XCH2zUXUL4v4FtulpvOotGDOhAAVeTk27QPiTMb9grLedNDL3zQ5E328uRf3NZAfbhEagf41Xf3kpB4mjZLVWkv8pHKUhN6WtMjk/cu2OF3+WIdiexumkIaHMEnIcx1SKbkQhiEACi25DTo5PBC2kapZi+okVhiiA/CX4=,iv:BJXt7hcuCsnejhtXSwPUeMSzv+8+nRlNTuObFE0OR4o=,tag:eTMWxSEFC2HEW2WJBJCDfw==,type:str] cache-sig-key: ENC[AES256_GCM,data:IJwl7sY+Re5xftv1a/l3JE2jFqzQS3uLs/BgZANnYm/GKKbg8sRFHaoTvPcnvMuiinTj8QNz/9ZSj1DnbVHY1Seca6sS2vSR2vHBrG2QJU966zF+lFSKK0RATPEADcJ+hgv/Psc=,iv:yeL8VOwmsqHgWjK+LcelNCRzfZiYaaGkwWAK/WPFF7I=,tag:hHJ3njkV5U8TQbmwuSYm9g==,type:str] nix-ssh-key: ENC[AES256_GCM,data:+M/XgoSoUrpeHueazyxF7BUYLBiTHnyVyPI1WxXtsrwODj+XAWshgP9H7PGT6BvXAAoh3h2Jz3pUfbs+mlSJuX2Ht0f6Tt3EllE0V1xXgu0k2T2rCuHr9aD9j3nUmL0iVTaoIAbaYWCyGZdAPB/C0uO0P9CLkD30xisuMcS9s5NUtP4KNQAsMeTPZ/BJMMLdC68BjO7eFMGM64BbxEHRTzn6AdPnQjG8eTsmnzNXVB6zMdM47lAfSBdNgAu58XHo1uYHBGqGaSc2n60MeCxCKyYD7FXKp1U7NO9jUn8PcUQN9MEd54T+C7AXp8ADBChjgV8Tlj3Ea8yRD1OCuY8rJhp8/4qk3IDI3uHUV/LZRpDwrnYvo+fJZFjJoydBc8tbzNGSid1FEYrDM4US2wstmtaTReLnnVZnaBfegB6/aUQukkj9LwjVodtyRS85lrXNImeuFK4DwVE3+HAa3YEQqxkrtismBJbRMzzI3gqN4lRSIYOIbIdRm0QJTP6Dg2v9JjS5HjD+ATrIMUwl1Gsp88N4AaceqQUTIYgn,iv:WTLN2PVijg4XgDkWl0eKWEcqp/tCXLYSimMhLC9PhBQ=,tag:KvF633XPCOsqcJGsPdThPA==,type:str] -minecraft-secrets: ENC[AES256_GCM,data:P0v+GLSVh5+RPLMjxrAgeUBxBzjZ26qCHD6gVV89iXfAbF76a4gqy00OMCSmLBrRJVPr2Zt+/FgCeV4qT/0ph8zqhP75SQWRdgzpOZegU6ztoYTV0QuqUnBwPwCT+bLbgt24ZIiFm4DXao85uq2kMmGB93tKdUPNm75KaSVPdw==,iv:fKP5+bi4xpjLjiNVSYmg24ZpcTKeWI54FVEffC6f9tI=,tag:23liqrJ6+9112bg8+xqXEg==,type:str] paste-misterio-me-secrets: ENC[AES256_GCM,data:r5ngh/wPBOgk0He+TCxDz0j1hp6TzV2FohpG8XZHei5feClu7SwHtA5qX5pVkmmmgQ5t71b/wUOQdBLdorO8,iv:6U5JGvmMU8ky78kXcNOoY2GsI4oxKx99PsnJuie8kTA=,tag:8XYdbhDHCyeJVDTemi9ZsA==,type:str] disconic-secrets: ENC[AES256_GCM,data:bUPJQvM3biNFTKMh0qO/EsU0zaK7Zz9K/ENtc4fwWvVOt5YoCzJ47gvGloePKrhCfaC+DfT6CHoxpGtCe14H50mzzb36CUxCtHNbS6zEjZ7uPdkkzh+nOlfXL5kYGIDlJJUEkpPu1vQhpL/lPQL7xCxQ9FcwzNlYbcP3TKQcUzg+TVQUh75EO+Gyi4QtmwK/HOfi4A2eKwj6MKV3E7afy+LRHZ9hTIdPhv9S0t0eO7Dg0rCFDOipgbE/BfCoU5jPXSuMKJlpaEno+vvW4Kj9Thk1GQ+59mx4XvBNBJR+g2jV3f9CtHT+vGFxsXxxY7PU6CDDTVec4fi7JEfX2kdRRGBkD8y/rw==,iv:dZcmZFVYZssTXOhQN2EQslfrAkuJ89jU0rCco7cCwdA=,tag:O+fx/Irm0VfVKeiQ3DkY+g==,type:str] sops: @@ -19,8 +18,8 @@ sops: SmwyTU5BdU9odWpodUttWEZNUjdjMXMKa5kUNxYsiJ5UGoQTludXGg/0TbzbfHqO utgmyLiuLAlwt5TC0AqUcY3lkPTyAa4WbF2Hd8QLjAycvKUk+gGYkA== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-11-26T13:31:54Z" - mac: ENC[AES256_GCM,data:TNfR25nI7aY6FM6FkzH6DQltuiqoJD+Mtd++WrjQG5oukWzevcxUZ5LgVKWyOLu2kNToZPMZz2uCCenCHbonaTvOe29jIOg4bfoIqiKV7O4CjX31UoA2Ew3x5WZCrHj3NzmlZFrY4qBST+60LE4U92gcxHIdLu6NFBrLudOttf8=,iv:1YDTpXsnhymKAV1Y50VT5528LBM2wIlsgz6atzkKsMk=,tag:RE4s65v22olGlHFAeCYnsA==,type:str] + lastmodified: "2024-12-30T18:52:33Z" + mac: ENC[AES256_GCM,data:QubBqeRIatY4QYZ5zkpP15eID3vujCY+E2I1YlDcEeTLctKGjdId1h2385Rhm0+VtjH7TftrWbZyY8bRwYbCa5JehsZtt39Wn5fp8bRI8qg1F5jjuQMSQ95bde/RYUc6b9JDFZZBO1OtX4O8AA/ldy5NEruYGSnpB/t1GaEHDwI=,iv:Ll0RR2Ow1AO14gX8Ixq+Gg0B4H2n10LoLgHpIVOZ6r0=,tag:me5BAqyoXFUeGTRSWYIf5g==,type:str] pgp: - created_at: "2023-02-06T19:43:01Z" enc: |- @@ -41,4 +40,4 @@ sops: -----END PGP MESSAGE----- fp: 7088C7421873E0DB97FF17C2245CAB70B4C225E9 unencrypted_suffix: _unencrypted - version: 3.9.1 + version: 3.9.2 diff --git a/hosts/celaeno/services/default.nix b/hosts/celaeno/services/default.nix index 2fc9d6f3..5516a679 100644 --- a/hosts/celaeno/services/default.nix +++ b/hosts/celaeno/services/default.nix @@ -8,7 +8,6 @@ ./paste-misterio-me.nix ./disconic.nix ./hydra - ./minecraft ]; networking.firewall.allowedTCPPorts = [5432]; diff --git a/hosts/taygeta/default.nix b/hosts/taygeta/default.nix index 6c2e4a92..a4321284 100644 --- a/hosts/taygeta/default.nix +++ b/hosts/taygeta/default.nix @@ -1,6 +1,7 @@ { imports = [ ./hardware-configuration.nix + ./services ../common/global ../common/users/gabriel @@ -11,6 +12,4 @@ useDHCP = true; }; system.stateVersion = "22.11"; - # Slows down write operations considerably - nix.settings.auto-optimise-store = false; } diff --git a/hosts/taygeta/secrets.yaml b/hosts/taygeta/secrets.yaml index e69de29b..4f02e3f1 100644 --- a/hosts/taygeta/secrets.yaml +++ b/hosts/taygeta/secrets.yaml @@ -0,0 +1,39 @@ +minecraft-secrets: ENC[AES256_GCM,data:hLwPnL+7vK5jQJGYe4ngBrU6XPeD9IzLPrGlKde7KLUQDh3zl6ewgZc6cqTfRFGxM0bs8JQKy98TqzbJ5FyhOIw39+D2znnldbPGb5TbKu5GdM63eJwM68TiTtmHhQKhaebVOz7QjsLXv4PuitSnqs4c38KZHxOVXmkqORjKKw==,iv:A7fTWZdkQvGEtATzB6bfOVFRU8gISw9NF3ILqt1WlFE=,tag:CLHzt/4wedw2qZvtFPTv/g==,type:str] +sops: + kms: [] + gcp_kms: [] + azure_kv: [] + hc_vault: [] + age: + - recipient: age1szxq4pz3wuxrs5ynqt3gys4wxslg27lr67smsqvg5guhap800szs3y73vd + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBWSmtvc3RQQTBxdUhZQmZG + ZHZXeHpNemtYYkFzYWppNmVvTnp1aHpsYVE4ClRpZFJMWVpoM2RRWDB6aXNUMzBn + NGJVOGhrNGlQVnh5TFNnVFFNTU9VRG8KLS0tIGVQcmtIK0YydmRNc21LcVRtdkxO + ZmZuSTJKeTU1Vzdzcnp4b1NpQnRnYlkKxzNqnDG55P1j3ZwQCpoLzYmIMMLlgAfO + pw//QqqFD4Y1tO/sUCHvdES1AJK/itAkOuuEdJ1YA6H4VN5NmKgrDg== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2024-12-30T18:53:13Z" + mac: ENC[AES256_GCM,data:Pm+XocUV/WInEabQxPoHUbNWxDKvYnrQwO3lS37A3ncdCevBmT1F/r18Se7pPFLU2FNwmTKbSS8JyCJoLUskG/prbzm7zqZfwy3t4dI0Mjn52VzD+6HJo/KcG34av0l5tIpLVhO/w/OiWtHmYvY6quZeVONlfDYHN646bQ5kzgY=,iv:FInXB7Nu2jintW19T/HJTTM/rE1shTlhFES1ACApvS0=,tag:5DE44rPMQ6htEqMowL7U8A==,type:str] + pgp: + - created_at: "2024-12-30T18:52:52Z" + enc: |- + -----BEGIN PGP MESSAGE----- + + hQGMAwa9kVfiDH1CAQv/fHyKmYXox/O+xohgDSVO1Fc/4jPy9rAmtGYoQqqIvhwV + Qix2SRxlaeugYl7YhpP6Yn9Bh0HeJnQpVaeTVzQvSlazjUOhL9cTckWCIDRVjmnR + +kwePxc+hJSt2IumNx3wUbQEbWbAcPbFyvflPabnp/a51NILcg909ygAIPIALmIs + MQhDUapAxHdN8O5b4f0sGUyEuxQPFM+7bWecmeWUEfX2XwByNv+CdOZKamKBmJBZ + wRr1t69gCJJwaM2bYg1i9hkUA7TcVWeOrynKMF59X343tbS+JhoPHox0hoIkbn66 + 0N+0DMqPfggdqaP4D6+GvmJb3ScIG890ixDcBS7pYwbnZEiQY2D/iv3jfKDMoat+ + ym5nqV2fSblnmPvTGySHyNdZufmlAYBCfOLU752eK3YVya5wFUG6cjckud/0jNGf + wljiRgmhffeFY1B30kWExcBzDhbora+qfDGIg1JFEMtJuyuifVJ8wfxANGsyek03 + HYOglrKZNAVWhwb/zt6+0lwBS7bvI4zIIaHFw8HmQo0vGOHt7FQWTVDv6GfWj9ic + GEG+l+nR2F9I4vGYlAaXeN6qS/MDnvLf2YskQOt3n8UqI8b19Thlxn9NgbbBo4d3 + 9jYVy1vCaq/z4IWzwA== + =1CGK + -----END PGP MESSAGE----- + fp: 7088C7421873E0DB97FF17C2245CAB70B4C225E9 + unencrypted_suffix: _unencrypted + version: 3.9.2 diff --git a/hosts/taygeta/services/default.nix b/hosts/taygeta/services/default.nix new file mode 100644 index 00000000..3f7782b6 --- /dev/null +++ b/hosts/taygeta/services/default.nix @@ -0,0 +1,7 @@ +{ + imports = [ + ../../common/optional/mysql.nix + + ./minecraft + ]; +} diff --git a/hosts/celaeno/services/minecraft/aikar-flags.nix b/hosts/taygeta/services/minecraft/aikar-flags.nix similarity index 100% rename from hosts/celaeno/services/minecraft/aikar-flags.nix rename to hosts/taygeta/services/minecraft/aikar-flags.nix diff --git a/hosts/celaeno/services/minecraft/default.nix b/hosts/taygeta/services/minecraft/default.nix similarity index 100% rename from hosts/celaeno/services/minecraft/default.nix rename to hosts/taygeta/services/minecraft/default.nix diff --git a/hosts/celaeno/services/minecraft/ops.nix b/hosts/taygeta/services/minecraft/ops.nix similarity index 100% rename from hosts/celaeno/services/minecraft/ops.nix rename to hosts/taygeta/services/minecraft/ops.nix diff --git a/hosts/celaeno/services/minecraft/servers/create-above-and-beyond/default.nix b/hosts/taygeta/services/minecraft/servers/create-above-and-beyond/default.nix similarity index 100% rename from hosts/celaeno/services/minecraft/servers/create-above-and-beyond/default.nix rename to hosts/taygeta/services/minecraft/servers/create-above-and-beyond/default.nix diff --git a/hosts/celaeno/services/minecraft/servers/create-above-and-beyond/forge-server.nix b/hosts/taygeta/services/minecraft/servers/create-above-and-beyond/forge-server.nix similarity index 100% rename from hosts/celaeno/services/minecraft/servers/create-above-and-beyond/forge-server.nix rename to hosts/taygeta/services/minecraft/servers/create-above-and-beyond/forge-server.nix diff --git a/hosts/celaeno/services/minecraft/servers/limbo/default.nix b/hosts/taygeta/services/minecraft/servers/limbo/default.nix similarity index 100% rename from hosts/celaeno/services/minecraft/servers/limbo/default.nix rename to hosts/taygeta/services/minecraft/servers/limbo/default.nix diff --git a/hosts/celaeno/services/minecraft/servers/limbo/nano-limbo-server.nix b/hosts/taygeta/services/minecraft/servers/limbo/nano-limbo-server.nix similarity index 100% rename from hosts/celaeno/services/minecraft/servers/limbo/nano-limbo-server.nix rename to hosts/taygeta/services/minecraft/servers/limbo/nano-limbo-server.nix diff --git a/hosts/celaeno/services/minecraft/servers/proxy/default.nix b/hosts/taygeta/services/minecraft/servers/proxy/default.nix similarity index 100% rename from hosts/celaeno/services/minecraft/servers/proxy/default.nix rename to hosts/taygeta/services/minecraft/servers/proxy/default.nix diff --git a/hosts/celaeno/services/minecraft/servers/proxy/fallbackserver.nix b/hosts/taygeta/services/minecraft/servers/proxy/fallbackserver.nix similarity index 100% rename from hosts/celaeno/services/minecraft/servers/proxy/fallbackserver.nix rename to hosts/taygeta/services/minecraft/servers/proxy/fallbackserver.nix diff --git a/hosts/celaeno/services/minecraft/servers/proxy/huskchat.nix b/hosts/taygeta/services/minecraft/servers/proxy/huskchat.nix similarity index 100% rename from hosts/celaeno/services/minecraft/servers/proxy/huskchat.nix rename to hosts/taygeta/services/minecraft/servers/proxy/huskchat.nix diff --git a/hosts/celaeno/services/minecraft/servers/proxy/librelogin.nix b/hosts/taygeta/services/minecraft/servers/proxy/librelogin.nix similarity index 100% rename from hosts/celaeno/services/minecraft/servers/proxy/librelogin.nix rename to hosts/taygeta/services/minecraft/servers/proxy/librelogin.nix diff --git a/hosts/celaeno/services/minecraft/servers/proxy/luckperms.nix b/hosts/taygeta/services/minecraft/servers/proxy/luckperms.nix similarity index 100% rename from hosts/celaeno/services/minecraft/servers/proxy/luckperms.nix rename to hosts/taygeta/services/minecraft/servers/proxy/luckperms.nix diff --git a/hosts/celaeno/services/minecraft/servers/proxy/messages.properties b/hosts/taygeta/services/minecraft/servers/proxy/messages.properties similarity index 100% rename from hosts/celaeno/services/minecraft/servers/proxy/messages.properties rename to hosts/taygeta/services/minecraft/servers/proxy/messages.properties diff --git a/hosts/celaeno/services/minecraft/servers/proxy/velocitab.nix b/hosts/taygeta/services/minecraft/servers/proxy/velocitab.nix similarity index 100% rename from hosts/celaeno/services/minecraft/servers/proxy/velocitab.nix rename to hosts/taygeta/services/minecraft/servers/proxy/velocitab.nix diff --git a/hosts/celaeno/services/minecraft/whitelist.nix b/hosts/taygeta/services/minecraft/whitelist.nix similarity index 100% rename from hosts/celaeno/services/minecraft/whitelist.nix rename to hosts/taygeta/services/minecraft/whitelist.nix