about summary refs log tree commit diff
path: root/users/sterni/machines/edwin/gopher.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni/machines/edwin/gopher.nix')
-rw-r--r--users/sterni/machines/edwin/gopher.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/users/sterni/machines/edwin/gopher.nix b/users/sterni/machines/edwin/gopher.nix
new file mode 100644
index 000000000000..57275e13a55a
--- /dev/null
+++ b/users/sterni/machines/edwin/gopher.nix
@@ -0,0 +1,19 @@
+{ depot, ... }:
+
+{
+  config = {
+    services.spacecookie = {
+      enable = true;
+      openFirewall = true;
+      settings = {
+        hostname = "sterni.lv";
+        root = depot.users.sterni.lv.gopher;
+        log = {
+          enable = true;
+          hide-ips = true;
+          hide-time = true;
+        };
+      };
+    };
+  };
+}