nixos-bootstrap
bootstrap a NiXOS system starting from a minimal installation CD
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 1 |
| Forks | 0 |
| Open Issues | 0 |
| Last Commit | 2018-11-07 |
| Downloads | 0 |
| Last Indexed | 2026-08-04 04:53 |
Installation
nimble install nixos-bootstrap
choosenim install nixos-bootstrap
git clone https://gitlab.com/GB-Labs/NiXOS/nixos-bootstrap
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| nixos-bootstrap | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/GB-Labs/NiXOS/nixos-bootstrap |
|---|---|
| Homepage | https://gitlab.com/GB-Labs/NiXOS/nixos-bootstrap |
| Registry Source | gitlab |
README
(Simple) Bootstrap to NixOS
This is a little project to showcase how to bootstrap a NixOS machine using a BTRFS flesystem - with swap space - on a single disk (no RAID).
How to use
Boot your machine using the installation CD, see NixOS Download page; I suggest using the Minimal Installation CD.
Install the (minimal) git package: nix-env -iA nixos.gitMinimal and clone this repo on your machine: git clone https://gitlab.com/GB-Labs/NiXOS/nixos-bootstrap.git.
WARNING: be sure to replace the ssh public key with yours in nixos-bootstrap/ssh-keys.nix.
Customize the device variable in nixos-bootstrap/bootstrap.sh using the device of your choice, use lsblk to list available devices.
Start the bootstrap process: cd nixos-bootstrap && sh ./bootstrap.sh
When done with the configuration, install NixOS nixos-install and if all went well reboot.