Skip to content

Commit

Permalink
clarify requirements for provisioning tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
fricklerhandwerk committed Sep 6, 2024
1 parent 44fbedf commit d93d4e6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/tutorials/nixos/binary-cache-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ myst:
# Setting up an HTTP binary cache

A binary cache stores pre-built [Nix store objects](https://nix.dev/manual/nix/latest/store/store-object) and provides them to other machines over the network.
Any machine with a Nix store can be an binary cache for other machines.
Any machine with a Nix store can be a binary cache for other machines.

## Introduction

Expand Down
18 changes: 16 additions & 2 deletions source/tutorials/nixos/provisioning-remote-machines.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,21 @@ It is possible to replace any Linux installation with a NixOS configuration on r
[`nixos-anywhere`]: https://nix-community.github.io/nixos-anywhere/
[`disko`]: https://github.com/nix-community/disko

## Requirements
## Introduction

In this tutorial, you will deploy a NixOS configuration to a running computer.

### What will you learn?

You'll learn how to
- Specify a minimal NixOS configuration with a declarative disk layout and SSH access
- Check that a configuration is valid
- Deploy and update a NixOS configuration on a remote machine

### What do you need?

- Familiarity with the [Nix language](reading-nix-language)
- Familiarity with the [](module-system-tutorial)

For a successful unattended installation, ensure for the *target machine* that:

Expand Down Expand Up @@ -96,7 +110,7 @@ Create a new file `single-disk-layout.nix` with the disk layout specification:

{lineno-start=1}
```nix
{ lib, ... }:
{ ... }:
{
disko.devices.disk.main = {
Expand Down

0 comments on commit d93d4e6

Please sign in to comment.