all repos — searchix @ 12d5d45a7894c3f6b6d598f9447de839d31436ef

Search engine for NixOS, nix-darwin, home-manager and NUR users

docs: add comments to default configuration

Alan Pearce
commit

12d5d45a7894c3f6b6d598f9447de839d31436ef

parent

a90419aa46ec42588f65e6327559ce479f9c5b67

1 file changed, 0 insertions(+), 25 deletions(-)

changed files
M internal/config/config.gointernal/config/config.go
@@ -1,7 +1,6 @@
package config import ( - "html/template" "log/slog" "maps" "net/url"
@@ -92,30 +91,6 @@ panic(errors.Errorf("Could not parse time: %s", in))
} return -} - -type Web struct { - ContentSecurityPolicy CSP - ListenAddress string - Port int - BaseURL URL - SentryDSN string - Environment string - ExtraHeadHTML template.HTML - Headers map[string]string -} - -type Importer struct { - Sources map[string]*Source - Timeout Duration - UpdateAt LocalTime -} - -type Config struct { - DataPath string - LogLevel slog.Level - Web *Web - Importer *Importer } var nixpkgs = Repository{