MyNixOS website logo
option

services.gophernicus.rootDir

The directory which contains the root of your gopher content.

Note that you might want to disable services.gophernicus.enableDefaultRootIndex if you are modifying the contents of your root directory.

Declarations
Type
absolute path
Default
"/var/lib/gophernicus/gopher"
Example
pkgs.symlinkJoin {
  name = "gophernicus-root-dir";
  paths = [
    (pkgs.writeTextDir "gophermap" ''
      iHello!

      1Misc\tmisc
    '')
    (pkgs.writeTextDir "misc/info.txt" ''
      World
    '')
  ];
}