From 71fdec27b3492f2e517665f83659c5ba28a1c9bd Mon Sep 17 00:00:00 2001
From: Emile <git@emile.space>
Date: Fri, 11 Apr 2025 19:33:01 +0200
Subject: forgot to commit for a while...

---
 nix/hosts/caladan/nvim_plugins.nix                 |  24 +++++++++++++++++++++
 .../secrets/garage_admin_metrics_secret.age        |   7 ++++++
 .../corrino/secrets/garage_admin_token_secret.age  |   7 ++++++
 nix/hosts/corrino/secrets/garage_rpc_secret.age    | Bin 387 -> 387 bytes
 .../corrino/secrets/tailscale-corrino-cert.age     | Bin 0 -> 3247 bytes
 .../corrino/secrets/tailscale-corrino-key.age      |   8 +++++++
 nix/hosts/corrino/www/mc.emile.space.nix           |  23 ++++++++++++++++++++
 7 files changed, 69 insertions(+)
 create mode 100644 nix/hosts/caladan/nvim_plugins.nix
 create mode 100644 nix/hosts/corrino/secrets/garage_admin_metrics_secret.age
 create mode 100644 nix/hosts/corrino/secrets/garage_admin_token_secret.age
 create mode 100644 nix/hosts/corrino/secrets/tailscale-corrino-cert.age
 create mode 100644 nix/hosts/corrino/secrets/tailscale-corrino-key.age
 create mode 100644 nix/hosts/corrino/www/mc.emile.space.nix

(limited to 'nix/hosts')

diff --git a/nix/hosts/caladan/nvim_plugins.nix b/nix/hosts/caladan/nvim_plugins.nix
new file mode 100644
index 0000000..2bc46d7
--- /dev/null
+++ b/nix/hosts/caladan/nvim_plugins.nix
@@ -0,0 +1,24 @@
+{ vimUtils, fetchgit, ... }:
+
+let
+  build-vim = vimUtils.buildVimPluginFrom2Nix;
+
+  build = ({name, owner, rev, sha256}: build-vim {
+    name = name;
+    src = fetchgit {
+      url = "https://github.com/${owner}/${name}";
+      rev = rev;
+      sha256 = sha256;
+    };
+    dependencies = [];
+  });
+in {
+  lisp = {
+    vlime = build {
+      name = "vlime";
+      owner = "l04m33";
+      rev = "065b95f3ac7a455314c2bdefeb2b792f290034df";
+      sha256 = "1bmmskdwvbl6lvbnjp9lls86rz0vzmk73y644bjb9ix9ygmjbia4";
+    };
+  };
+}
diff --git a/nix/hosts/corrino/secrets/garage_admin_metrics_secret.age b/nix/hosts/corrino/secrets/garage_admin_metrics_secret.age
new file mode 100644
index 0000000..e1af7da
--- /dev/null
+++ b/nix/hosts/corrino/secrets/garage_admin_metrics_secret.age
@@ -0,0 +1,7 @@
+age-encryption.org/v1
+-> ssh-ed25519 gvwQ2Q 7QkcpYGeeMsbW0GcXzNGPTc0jUf4ydpMiTO6ZxEIKGY
+OOxq2hMORsmUzBuoqOIPNJeLqJB0seve9PhorS6PKNs
+-> ssh-ed25519 m8VklA pF7mWG6tviFC6qD88dxoQRnXGfR0AuanVyY+bh8XgV0
+mrk4HgEs3i8y5P+BSGM1psweXpY/xO+8vK/DsXyhyiY
+--- zqEl/ZN/3jEgMZ/IbPbyTHGZJDDENLOnoQezaACeoSs
+���������l����,±��W`��\6�yh��.
���oV�(�?�Em�,�;��(@�0dV��A=4�v��
\ No newline at end of file
diff --git a/nix/hosts/corrino/secrets/garage_admin_token_secret.age b/nix/hosts/corrino/secrets/garage_admin_token_secret.age
new file mode 100644
index 0000000..2a18a6b
--- /dev/null
+++ b/nix/hosts/corrino/secrets/garage_admin_token_secret.age
@@ -0,0 +1,7 @@
+age-encryption.org/v1
+-> ssh-ed25519 gvwQ2Q hcMMVkZSsObrOFjetml2z4eH+EfnuSsna+GaXEeMUA4
+y6lFBj49cMhOGuJBpILHsykpBMpKDHZpFXR4E4zZEbg
+-> ssh-ed25519 m8VklA Z6zLilTWlGWG17Q6jBx13m3KYs3gE93TPLq0CidHeTA
+eqMN5mDMasi/Nw2y5Kgwy2COna+3zbbFTTUrD/O26ls
+--- QdVyqrTLmEcGSB37Ft3Ur0Ry9Jk9DyHFI6fo88tnsgI
+X`�w�Y��,�<����A��$Xe�DGe�	;�െ���>�1n�s�������Nr_Y\�`���)��F#{����<�
\ No newline at end of file
diff --git a/nix/hosts/corrino/secrets/garage_rpc_secret.age b/nix/hosts/corrino/secrets/garage_rpc_secret.age
index e228d0d..ce8a65a 100644
Binary files a/nix/hosts/corrino/secrets/garage_rpc_secret.age and b/nix/hosts/corrino/secrets/garage_rpc_secret.age differ
diff --git a/nix/hosts/corrino/secrets/tailscale-corrino-cert.age b/nix/hosts/corrino/secrets/tailscale-corrino-cert.age
new file mode 100644
index 0000000..07252cc
Binary files /dev/null and b/nix/hosts/corrino/secrets/tailscale-corrino-cert.age differ
diff --git a/nix/hosts/corrino/secrets/tailscale-corrino-key.age b/nix/hosts/corrino/secrets/tailscale-corrino-key.age
new file mode 100644
index 0000000..36c132e
--- /dev/null
+++ b/nix/hosts/corrino/secrets/tailscale-corrino-key.age
@@ -0,0 +1,8 @@
+age-encryption.org/v1
+-> ssh-ed25519 gvwQ2Q P6b4m51AxFbXT3OOkgMe/BPZi3240e/Gii3weyMtPxI
+fRVIno8tPqh4F6e6TOj6YiW2uL9T3uqkro6EZ1mPXOc
+-> ssh-ed25519 m8VklA lRMfdLzmoVybkJJvTlY1lZgkMt1R0wyjA/NFcdRFKDM
+CLyqRXYetMUbsGhL8NRQ333WIy/TnJwhWX8UpxyLmbw
+--- zTjX+CIXtDurBc+TaT7zQ0xn/5Xx3mIrKkAviqMgn4c
+:$�+D�\[Q�.pS�<H�QWM�TL�T�GxZV������'��^p��N�D�G��F��*�ڢ�:6`ˉ`�a�Md��bN\ȣ�	���ClH��7�>i��_!��
%n��eUVI�4�sA6��_�kP�������4-��=�.dxq�t�+�)�4`+�E���2������R�&�0__$V}���Ho�jܾ��}�aB|//����@�L#�IK3Dt���
+�C?�4���?u}�7!�
\ No newline at end of file
diff --git a/nix/hosts/corrino/www/mc.emile.space.nix b/nix/hosts/corrino/www/mc.emile.space.nix
new file mode 100644
index 0000000..2a08f69
--- /dev/null
+++ b/nix/hosts/corrino/www/mc.emile.space.nix
@@ -0,0 +1,23 @@
+{ pkgs, ... }:
+
+{
+  services.minecraft-server = {
+    package = pkgs.minecraft-server;
+    serverProperties = {
+      server-port = 43000;
+      difficulty = 3;
+      gamemode = 1;
+      max-players = 5;
+      motd = "Neurodivergenter Hexenzirkel";
+      white-list = false;
+      enable-rcon = true;
+      "rcon.password" = "hunter2";
+    };
+    openFirewall = true;
+    jvmOpts = "-Xms4092M -Xmx4092M -XX:+UseG1GC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10";
+    eula = true;
+    enable = true;
+    declarative = true;
+    dataDir = "/var/lib/minecraft";
+  };
+}
-- 
cgit 1.4.1