Skip to content

Commit

Permalink
feat: Improve installation guide
Browse files Browse the repository at this point in the history
Added an option to toggle the installation guide + how to use disko to format and mount partitions
  • Loading branch information
redyf committed Feb 8, 2024
1 parent 3fb62ea commit 77ac309
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,17 @@ iwctl --passphrase [passphrase] station [device] connect [SSID]

## Installation

I'll guide you through the Installation, but first make sure to download the Minimal ISO image available at [NixOS](https://nixos.org/download#nixos-iso) and make a bootable drive with it. I suggest using [Rufus](https://rufus.ie/en/) for the task as it's a great software.
Also I'm going to use an ethernet cable for the tutorial to make things easier. We shall begin!
I'll guide you through the Installation, but first make sure to download the Minimal ISO image available at [NixOS](https://nixos.org/download#nixos-iso) and make a bootable drive with it. I suggest using [Rufus](https://rufus.ie/en/) for the task as it's a great software,
and an ethernet cable to make things easier. We shall begin!

### Installation Steps
<details>
<summary>Installation Steps</summary>

**Only follow these steps after using the bootable drive, changing BIOS boot priority and getting into the installation!**
<strong>

Only follow these steps after using the bootable drive, changing BIOS boot priority and getting into the installation!

</strong>

```
First part:
Expand Down Expand Up @@ -151,6 +156,24 @@ nixos-install --flake '.#redyf'
If you'd like to use my config as a template, all you need to do is replace "redyf" with your username.
```

</details>
<hr>

Disko is also available for formatting partitions (Only for advanced users)

<details>
<summary>Disko</summary>

```
If you'd saved this configuration in ./disks/default.nix, and wanted to create a disk named /dev/nvme0n1, you would run the following command to partition, format and mount the disk.
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko ./disks/default.nix --arg device '/dev/nvme0n1'
```

</details>

<hr>

Credits for the installation section goes to [Stephenstechtalks](https://github.com/stephenstechtalks) and [AlphaTechnolog](https://github.com/AlphaTechnolog) as they helped a lot with their installation guides.

## Shoutout to:
Expand Down

0 comments on commit 77ac309

Please sign in to comment.