services.gophernicus.rootDir
NixOS option
absolute path
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.
type: absolute pathDefault
"/var/lib/gophernicus/gopher"
Example
declared in: nixos/modules/services/misc/gophernicus.nixView source on NixOS/nixpkgs →pkgs.symlinkJoin {
name = "gophernicus-root-dir";
paths = [
(pkgs.writeTextDir "gophermap" ''
iHello!
1Misc\tmisc
'')
(pkgs.writeTextDir "misc/info.txt" ''
World
'')
];
}