summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-12-28 00:08:45 +0100
committersterni <sternenseemann@systemli.org>2021-04-10 15:44:19 +0200
commit6b577f46b4d0f612321eb5ab6e410a95f0074c4a (patch)
tree7904fa30e4f7f8b11c07535448e3d985c4552ea6
parentb596339ee05d1191e9ccdce3f3dd41de01334103 (diff)
downloadnixpkgs-6b577f46b4d0f612321eb5ab6e410a95f0074c4a.tar
nixpkgs-6b577f46b4d0f612321eb5ab6e410a95f0074c4a.tar.gz
nixpkgs-6b577f46b4d0f612321eb5ab6e410a95f0074c4a.tar.bz2
nixpkgs-6b577f46b4d0f612321eb5ab6e410a95f0074c4a.tar.lz
nixpkgs-6b577f46b4d0f612321eb5ab6e410a95f0074c4a.tar.xz
nixpkgs-6b577f46b4d0f612321eb5ab6e410a95f0074c4a.tar.zst
nixpkgs-6b577f46b4d0f612321eb5ab6e410a95f0074c4a.zip
nixos/spacecookie: use nix style strings for description
-rw-r--r--nixos/modules/services/networking/spacecookie.nix15
1 files changed, 12 insertions, 3 deletions
diff --git a/nixos/modules/services/networking/spacecookie.nix b/nixos/modules/services/networking/spacecookie.nix
index c4d06df6ad4..29c1c0f0012 100644
--- a/nixos/modules/services/networking/spacecookie.nix
+++ b/nixos/modules/services/networking/spacecookie.nix
@@ -18,19 +18,28 @@ in {
       hostname = mkOption {
         type = types.str;
         default = "localhost";
-        description = "The hostname the service is reachable via. Clients will use this hostname for further requests after loading the initial gopher menu.";
+        description = ''
+          The hostname the service is reachable via. Clients
+          will use this hostname for further requests after
+          loading the initial gopher menu.
+        '';
       };
 
       port = mkOption {
         type = types.port;
         default = 70;
-        description = "Port the gopher service should be exposed on.";
+        description = ''
+          Port the gopher service should be exposed on. The
+          firewall is not opened automatically.
+        '';
       };
 
       root = mkOption {
         type = types.path;
         default = "/srv/gopher";
-        description = "The root directory spacecookie serves via gopher.";
+        description = ''
+          The root directory spacecookie serves via gopher.
+        '';
       };
     };
   };