Skip to content

Commit

Permalink
update readme with disko steps
Browse files Browse the repository at this point in the history
  • Loading branch information
otosky committed Jul 27, 2024
1 parent 73c42f1 commit e30fb4d
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,33 @@ Declarative configuration of my machines & dotfiles.
> [!WARNING]
> Still a work-in-progress!
## Installation
## Setup

The following requires custom boot media built from manifests under
`installer/`.

To build the install-usb media, run

```sh
just build-iso
```

### Init Drives

```sh
echo -n "<luks-secret-key>" > /tmp/secret.key
# set up the drive partitions
sudo just disko-init <host>
# mount the drives so that you can perform nix installation
sudo just disko-mount <host>
```

### Init Install

```sh
git clone https://github.com/otosky/nix-config
cd nix-config
nixos-install --root /mnt --flake .#ot-desktop
sudo nixos-install --root /mnt --flake .#ot-desktop
```

## Rebuilds
Expand Down

0 comments on commit e30fb4d

Please sign in to comment.