summary refs log tree commit diff
path: root/configuration/specimen.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration/specimen.nix')
-rw-r--r--configuration/specimen.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/configuration/specimen.nix b/configuration/specimen.nix
new file mode 100644
index 0000000..41a5008
--- /dev/null
+++ b/configuration/specimen.nix
@@ -0,0 +1,17 @@
+{ pkgs, ... }:
+
+let
+  name = "max mustermann";
+  name-file = pkgs.writeText "specimen-name" name;
+in
+{
+  services.specimen = {
+    enable = true;
+
+    listenAddress = "0.0.0.0";
+    port = 4444;
+    openFirewall = true;
+
+    namePath = name-file;
+  };
+}