Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Nix is a simple, minimal Hugo theme with a terminal-style navbar, extensive social link support, Disqus comments, and configurable menus.
Nix is a simple, minimal theme for the Hugo static site generator, built around a terminal-style command-prompt identity. It turns Markdown content and a config.toml file into a static website with a navbar that displays username@hostname ~ $, and it is released under the MIT License.
Nix is a simple, minimal theme for the Hugo static site generator, built around a terminal-style command-prompt identity. It takes a Hugo site configuration written in TOML plus Markdown content as input, and produces a static website with a terminal-inspired header. The theme is authored by LordMathis, hosted on GitHub, and licensed under MIT.
The most notable capabilities of Nix come from its configuration-driven design and the absence of a heavy UI framework. The core features are:
username@hostname ~ $ using the HeaderUsername and HeaderHostname parameters.[[menu.header]] entries in config.toml, with support for parent identifiers for submenus.disqusShortname and disable per page with nocomments = true in front matter.showpostdate = false in the relevant file's front matter.lastmod method, which works automatically when enableGitInfo is set to true.About string via the ProfilePicture and About parameters.Nix suits people who want a static site without visual distractions and who are comfortable editing a config file. The main audiences are:
config.toml.With Nix you can build a personal site or blog that loads fast and keeps all navigation under a command-prompt-style header. Typical uses include:
Nix is set up by cloning the repository into your Hugo themes directory and filling in a few TOML parameters. After installation, Hugo compiles your Markdown content and the theme's templates into a static site. The theme also supports lastmod from Git commit dates when enableGitInfo is enabled.
Nix's strengths and limitations follow directly from its minimal design and configuration-based setup.
config.toml; the minimal design offers limited layout options out of the box.Nix is free to use. The repository is licensed under the MIT License, so you can use, modify, and redistribute it without cost.
Short answers to common configuration questions for the Nix theme.
Yes, Nix is free and open-source under the MIT License. You can clone it from GitHub and use it on unlimited sites without paying.
Add the corresponding parameter (for example, GithubID, TwitterID, or InstagramID) to the [params] section of your config.toml. The theme automatically displays icons for the services you specify.
Define an [[menu.header]] entry with an identifier, then add additional [[menu.header]] entries that reference that identifier with the parent parameter. The README shows an example with posts, categories, and tags.
Yes. Set nocomments = true in the front matter of that page. Comments are disabled globally unless you add disqusShortname to your site configuration.
Populate the lastmod value in a page's front matter, or set enableGitInfo = true in your Hugo configuration so the theme uses the date of the last Git commit for that page.