1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00

clarify requirements for provisioning tutorial

This commit is contained in:
Valentin Gagarin 2024-09-06 13:51:07 +02:00
parent 44fbedf8d6
commit d93d4e6ca5
2 changed files with 17 additions and 3 deletions

View file

@ -9,7 +9,7 @@ myst:
# Setting up an HTTP binary cache # 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. 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 ## Introduction

View file

@ -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/ [`nixos-anywhere`]: https://nix-community.github.io/nixos-anywhere/
[`disko`]: https://github.com/nix-community/disko [`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: For a successful unattended installation, ensure for the *target machine* that:
@ -96,7 +110,7 @@ Create a new file `single-disk-layout.nix` with the disk layout specification:
{lineno-start=1} {lineno-start=1}
```nix ```nix
{ lib, ... }: { ... }:
{ {
disko.devices.disk.main = { disko.devices.disk.main = {