Update README.md

This commit is contained in:
Aaron Honeycutt 2023-01-17 22:15:36 +00:00
parent 0b4e2b1129
commit b9f6020df8

View file

@ -15,6 +15,9 @@ nix files are from [this repo](https://gitlab.com/ahoneybun/nix-configs/) but th
Tested on the following drives:
- SATA
- NVMe
- eMMC
Tested on x86_64 and aarch64 machines.
This sets the hashedPassword to my own so you will need to update it to match your own as well as the username. I created the hash with this command:
@ -32,34 +35,52 @@ Prerequisites:
## Connect to internet
```sh
> add_network
0
> set_network 0 ssid "myhomenetwork"
OK
> set_network 0 psk "mypassword"
OK
> set_network 0 key_mgmt WPA-PSK
OK
> enable_network 0
OK
```
https://nixos.org/manual/nixos/stable/index.html#sec-installation-booting-networking
## Start the installer
```
curl https://gitlab.com/ahoneybun/nyxi-installer/-/raw/main/install.sh > install.sh; sh install.sh
```
or
```
sh <(curl -L https://gitlab.com/ahoneybun/nyxi-installer/-/raw/main/install.sh)
```sh
sh <(curl -L https://gitlab.com/ahoneybun/nyxi-installer/-/raw/main-pbp/install.sh)
```
The following will happen:
### x86_64 - main branch
- Clear partition table for `/dev/***`.
- Creates a GPT partition table for `/dev/***`.
- Create a 1GB EFI partiton at `/dev/***1`.
- Create a encrypted LVM at `/dev/***2`.
- Create a swap partition in the LVM and sets it as the same size as the RAM for hibernation if requested.
- Create a root partition in the LVM.
- Install systemd-boot.
- Creates a 1GB EFI partiton at `/dev/***1`.
- Creates a encrypted LVM at `/dev/***2`.
- Creates a swap partition in the LVM and sets it as the same size as the RAM for hibernation if requested.
- Creates a root partition in the LVM.
- Installs systemd-boot
### ARM64 (Pinebook Pro) - main-pbp branch
- Clear partition table for `/dev/***`.
- Creates a GPT partition table for `/dev/***`.
- Creates a 1GB EFI partiton at `/dev/***1`.
- Creates a 4GB Swap partition at `/dev/***3`.
- Creates a root partition with the rest of the space at `/dev/***2`.
- Installs GRUB
## Roadmap
- [ ]
- [ ] Merge ARM64 and x86_64 together into one branch
# Possible Ideas
- [ ]
- [ ] Install nix-channels such as `nixos-hardware` and `home-manager` after install.