Skip to content
tomwrwPublic

About

The Nix Arms - a website promoting the use of Nix for the average patron.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

The Nix Arms

Nix on tap · nixarms.com

A friendly local for anyone curious about Nix and NixOS. It has beginner guides for people leaving Windows, Arch and Ubuntu, a gaming page and real configs explained in plain English.

Built with Hugo, built reproducibly with Nix and hosted on GitHub Pages.

Run it locally

nix develop            # Hugo plus the brand tools
hugo server            # http://localhost:1313, reloads as you edit

Or skip the shell:

nix run                # same as `hugo server`
nix build              # production build in ./result, exactly what CI deploys

With direnv, direnv allow once and the shell loads automatically.

The site works fully offline: fonts and images are self-hosted. The only external script is GoatCounter (cookieless visit counting), and it only loads on the live site when params.goatcounter.code is set in hugo.toml. See content/privacy.md.

Where things live

content/              Markdown pages
  _index.md           homepage copy (front matter)
  start/              "Start here" guides: windows, arch, ubuntu
  gaming.md
  brewhouse/          config styles, simplest first: vanilla, flakes, flake-parts, dendritic, den
    starters/         a hands-on guide to each style's starter configs (nixarms-brewhouse)
  cocktail-bar/       The Cocktail Bar: one page per advanced tool (disko, sops-nix, Stylix...)
  regulars/           one file per featured config
  library.md          The Library: bookshelf, telly and the jargon buster
data/
  paths.yaml          "What are you drinking?" picker
  specials.yaml       "What's on tap" tap list (homepage)
  jargon.yaml         the jargon buster (The Library) and the homepage board
  tips.yaml           "One for the road" tips (homepage, one at random)
  community.yaml      "Where the regulars drink" links (homepage)
  brews.yaml          "Which brew?" helper (The Brewhouse)
  starters.yaml       copy shared by every starter guide: trying a starter, the gotchas
  journey.yaml        the route through the site: the homepage map and each page's "Next round"
  library.yaml        The Library: the bookshelf (docs)
  telly.yaml          The Library: on the telly (videos)
themes/nixarms/       the theme: layouts, shortcodes, CSS, JS, fonts, images
static/               favicon, CNAME
brand/                master brand assets and brand guidelines (brand/README.md)
tools/brand/          scripts that generate the brand assets

Shortcodes for writing pages

{{< chalkboard title="What won't come with you" size="lg" grid="true" >}}
{{< chalk-item title="Adobe apps" >}}Try GIMP or Krita.{{< /chalk-item >}}
{{< /chalkboard >}}

{{< status-grid >}}
{{< status kind="ok|tweak|no" title="On tap" >}}Markdown…{{< /status >}}
{{< /status-grid >}}

{{< rounds >}}
{{< round title="Install" time="30 min" >}}Markdown…{{< /round >}}
{{< /rounds >}}

{{< callout eyebrow="…" title="…" url="/gaming/" label="Go →" >}}Text{{< /callout >}}

Keeping pages fresh

Pages with commands carry a checked date in their front matter, shown under the title as "Fresh on tap: checked 17 Nov 2026 on NixOS 26.05". The release comes from the date, using the list in params.nixosReleases (hugo.toml). Only change checked once you've re-tested the page on the current release. When a new NixOS release comes out, I add it to that list, and every page checked before it shows "Due a recheck" until someone re-tests it.

Submitting a config to The Regulars

Copy any file in content/regulars/, fill in the front matter (repo, author, level, tags, borrow) and write a few plain-English lines. Put <!--more--> after the first paragraph, which becomes the card summary. Then open a pull request.

Licences

  • Code (the theme's templates, CSS and JavaScript, flake.nix, the workflow and the scripts in tools/): MIT.
  • Written content (everything in content/ and data/): CC BY 4.0. Reuse it freely; credit "The Nix Arms" with a link to nixarms.com.

Not covered by either licence:

  • The brand. The name "The Nix Arms", the beer-mat logo, the pint icon, the lockups, the favicons, the social card and the wooden frame (brand/, themes/nixarms/static/img/brand/, the icons in static/). All rights reserved. Linking to the site with them is fine; please don't use them for your own project.
  • The NixOS logomark inside the beer mat stays under its own CC BY 4.0 licence (see Credits).
  • The Landlord's photo (content/landlord/landlord.jpg). All rights reserved.
  • Third-party material keeps its own licence: the fonts. See THIRD_PARTY.md.

Credits

Full notices and licence texts are in THIRD_PARTY.md.

  • NixOS logomark: "NixOS Logo" by Simon Frankau, Tim Cuthbertson and Daniel Baker (NixOS Marketing Team), from nixos/branding, CC BY 4.0. Used unaltered.
  • Fonts: Fraunces, Work Sans and JetBrains Mono, all under the SIL Open Font License (themes/nixarms/static/fonts/). The Nix Arms is a community site and isn't affiliated with the NixOS Foundation.

About

The Nix Arms - a website promoting the use of Nix for the average patron.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages