HugoTool Site

hugo-theme-nix — Hugo Tool Template

By lordmathis

Nix is a minimal theme for Hugo, featuring a terminal-prompt-style navigation bar and plain-text configuration, suitable for personal sites, blogs, and portfolios.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

1 previews
Author preview
Author-provided previewTop of page

Preview provided in the project README.

One original preview is available. Open the full image to inspect the design.

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-02View source

What stands out

A quick read of the recorded project description.

01

Navigation bar presented as a terminal prompt in the form `HeaderUsername@HeaderHostname ~ $`

02

Site information and numerous social network and contact fields configured via [params] in config.toml

03

Supports [[menu.header]] menu items and parent submenus

04

Disqus can be enabled by configuring disqusShortname, and disabled per page with nocomments = true

05

Individual pages can hide dates with showpostdate = false, and support lastmod or enableGitInfo

06

MIT license, allowing free use, modification, commercial use, and distribution

Template Details

Nix is a Hugo theme maintained by lordmathis, positioned as simple and minimal. It configures site information through [params] in config.toml, where Name, HeaderUsername, HeaderHostname, About, and ProfilePicture are used to generate the `HeaderUsername@HeaderHostname ~ $` prompt-style header on the left side of the navigation bar. The theme supports filling in various social network and contact fields under [params], including Bitbucket, Bluesky, Codepen, CvURL, Email, Facebook, Github, Gitlab, GnuPGFingerprint, GoogleAnalytics, Googleplus, Instagram, LinkedIn, MastodonURL, Medium, Mobile, PayPalMe, Phone, Reddit, RSSURL, SlackURL, Spotify, Soundcloud, StackExchange, StackOverflow, Telegram, Twitter, Twitch, Xing, Youtube, and more. Navigation menus are defined via [[menu.header]], and submenus can be created using the parent field. For comments, configuring disqusShortname enables Disqus, and individual pages can disable it by setting nocomments = true in front matter; individual pages can hide the publication date with showpostdate = false; pages support lastmod, which must be filled in front matter or provided by Git commit dates when enableGitInfo is enabled in the site configuration.

To use it, clone the repository into the Hugo themes directory: first create the themes directory, then run git clone https://github.com/LordMathis/hugo-theme-nix. The theme is released under the MIT license, allowing free use, modification, commercial use, and distribution of this version of the code; when distributing, the copyright notice and the full MIT license notice must be retained; the code is provided as is. Third-party assets such as demo images, fonts, and icons must be checked against their respective licenses, and external services such as domains and hosting may incur separate charges.

HugoTool Site

Is it right for your project?

Use Cases

  • Building a text-focused personal blog
  • Creating a personal homepage or portfolio with social links and contact information
  • A minimal site requiring a terminal-style navigation bar
  • Projects using Hugo that want to centrally manage site parameters in config.toml

Suitable For

  • Developers familiar with Hugo and TOML configuration
  • Personal site authors who prefer a minimal, terminal-style interface
  • Blogs that need quick integration with Disqus comments and multiple social platforms
  • Users who accept the MIT license terms and verify third-party asset licensing themselves

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    Create a themes directory in the Hugo project root and run git clone https://github.com/LordMathis/hugo-theme-nix to place the theme there

  2. 2

    Fill in basic parameters such as Name, HeaderUsername, HeaderHostname, About, and ProfilePicture under [params] in config.toml

  3. 3

    Add social network and contact fields as needed under [params], such as GithubID, Email, MastodonURL, RSSURL, etc.

  4. 4

    Define navigation items using [[menu.header]], and associate submenus with the parent field when needed

  5. 5

    For comments, set disqusShortname in config.toml; individual pages can disable it with nocomments = true

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version under the MIT license in the public repository; the free scope is the code of this version and does not mean external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution of this version of the code are permitted.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • The GnuPGFingerprint feature relies on the external service keys.openpgp.org to query fingerprints; using this field requires internet access to that third-party key server.
  • The comment feature requires configuring disqusShortname and depends on the third-party Disqus service, which may involve account registration and the service's own terms and fees.
  • Enabling Google Analytics requires entering your own tracking ID; it is an external third-party service that may involve accounts and compliance obligations.
  • Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur separate charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

Uses keys.openpgp.org keyserver to search your fingerprint

Original README

To enable disqus comments add `disqusShortname` to your `config.toml`.

Original README

GoogleAnalytics = "your_google_analytics_id"

Original README
https://github.com/lordmathis/hugo-theme-nix/blob/master/LICENSE.mdhttps://github.com/lordmathis/hugo-theme-nix/blob/master/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
Hugo Themes
Documentation and maintenance reference score
Partly documented · 73 / 100
Technologies
Hugo
Website type
Tool Site
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2025-08-25
Screenshot last checked
2026-10-02

No demo link is recorded. Use the repository instructions to evaluate the project locally; the screenshot alone cannot establish interactive behavior.

The catalog identifies Hugo as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: d1b879b33724d6cbf82b54aec0236b5b3472424f04962c6f4c5ecf943a754bc2

2026-10-02T22:21:21.911Z

Source file / repository
# Nix

Nix is a simple, minimal theme for Hugo

![Hugo Theme Nix](https://raw.githubusercontent.com/LordMathis/hugo-theme-nix/master/images/screenshot.png)

## Usage

Clone the repository to your hugo theme directory

```
mkdir themes
cd themes
git clone https://github.com/LordMathis/hugo-theme-nix
```

## Configuration

Add these parameters to your `config.toml`:

```
[params]
  Name = "your_name"
  HeaderUsername = "username"
  HeaderHostname = "hostname"
  About = "info_about_you"
  ProfilePicture = "profile_picture_url"
```

`HeaderUsername` and `HeaderHostname` will be displayed in navbar on left side in the format: `HeaderUsername@HeaderHostname ~ $`.  

Optionaly you can add any of these social networks to the \[params\] section.

```
  BitbucketID = "your_bitbucket_id"
  BlueskyID = "your_bluesky_id"
  CodepenID = "your_codepen"
  CvURL = "your_cv_url"
  Email = "your_email"
  FacebookID = "your_facebook"
  GithubID = "your_github"
  GitlabId = "your_gitlab"
  # Uses keys.openpgp.org keyserver to search your fingerprint
  # https://keys.openpgp.org/search?q=your_gpg_fingerprint
  GnuPGFingerprint = "your_gpg_fingerprint"
  GoogleAnalytics = "your_google_analytics_id"
  GoogleplusID = "your_googleplus"
  InstagramID = "your_instagram"
  LinkedInID = "your_linkedin"
  MastodonURL = "your_mastodon_profile"
  MediumID = "your_medium_id"
  Mobile = "+1-201-555-0123"
  PayPalMeID = "https://www.paypal.me/..."
  Phone = "+1-201-555-0123"
  RedditID = "your_reddit"
  RSSURL = "\path-to-xml" ( default hugo generates from pages at "/index.xml" )
  SlackURL = "https://join.slack.com/..."
  SpotifyID = "your_spotify_id"
  SoundcloudID = "your_soundcloud_id"
  StackExchangeID = "your_stackexchange_id"
  StackOverflowID = "your_stackoverflow_id"
  TelegramID = "your_telegram"
  TwitterID = "your_twitter"
  TwitchID = "your_twitch_username"
  XingURL = "https://www.xing.com/profile/..."
  # For youtube, since there are multiple path urls please add everything after https://youtube.com/ in channel url
  YoutubeID = "c/your_youtube_id"
```

To add a menu item add `[[menu.header]]` item to `config.toml`. For example:

```
[menu]
  [[menu.header]]
    name = "posts"
    weight = 0
    url = "/posts"
```

To add a submenu item add `[[menu.header]]` item with a parent parameter to `config.toml`. For example:

```
[menu]
  [[menu.header]]
    identifier = "post"
    name = "posts"
    weight = 0
  [[menu.header]]
    parent = "post"
    name = "All Posts"
    url = "/posts"
  [[menu.header]]
    parent = "post"
    name = "categories"
    url = "/categories"
  [[menu.header]]
    parent = "post"
    name = "tags"
    url = "/tags"
```

To enable disqus comments add `disqusShortname` to your `config.toml`.

You can turn off disqus comments per page by adding `nocomments = true` to the front matter.

To disable the post date from a specific page add `showpostdate = false` to your relevant `.md` file.

Pages now also support ![Lastmod](https://gohugo.io/methods/page/lastmod/). This will not appear until you populate `lastmod:` in the page's frontmatter, unless you have `enableGitInfo` set to `true` in your site's config file, in which case it will use the date of the last git commit containing that page.

## License

Nix is licensed under the [MIT License](LICENSE.md)
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.