Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

Fix NixOS install instructions #3907

Merged
merged 2 commits into from Mar 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions Documentation/distributions.md
Expand Up @@ -95,10 +95,16 @@ sudo emerge rkt

## NixOS

rkt can be installed on NixOS using the following command:
On NixOS enable rkt by adding the following line in `/etc/nixos/configuration.nix`:

```
nix-env -iA rkt
virtualisation.rkt.enable = true;
Copy link
Member

@euank euank Mar 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct me if I'm wrong, but it looks like this accomplishes the following three things:

  1. Makes the rkt pkg available for that configuration
  2. Enables the rkt metadata services
  3. Enables the rkt gc timer

I think there are people who may want 1 but not 2 or 3 (especially given the metadata service is only useful in a a subset of usecases).

Perhaps those differences should be cited so a nixos user may opt to instead just install the pkg without the services if they want?

```

Using the nix package manager on another OS you can use:

```
nix-env -iA nixpkgs.rkt
```

The source for the rkt.nix expression can be found on [GitHub][rkt-nixos]
Expand Down