Skip to content

Commit

Permalink
installation.md: add Nix installation instructions (#2126)
Browse files Browse the repository at this point in the history
  • Loading branch information
waldyrious authored Mar 5, 2023
1 parent 4f5d622 commit f2d6b2e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/content/documentation/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,24 @@ To avoid having to type this every time, an alias can be created in `~/.bashrc`:
$ alias zola="flatpak run org.getzola.zola"
```

### NixOS / Nixpkgs

Zola is [available](https://search.nixos.org/packages?show=zola&query=zola)
in the nixpkgs repository. If you're using NixOS, you can install Zola
by adding the following to `/etc/nixos/configuration.nix`:

```
environment.systemPackages = [
pkgs.zola
];
```

If you're using Nix as a package manager in another OS, you can install it using:

```
nix-env -iA nixpkgs.zola
```

### Via Github Actions

Zola can be installed in a GHA workflow with [taiki-e/install-action](https://github.com/taiki-e/install-action).
Expand Down

0 comments on commit f2d6b2e

Please sign in to comment.