mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-11 02:34:02 -06:00
A fast installer for my personal NixOS setup.
docs | ||
Screenshots | ||
src | ||
.gitignore | ||
.gitlab-ci.yml | ||
Cargo.lock | ||
Cargo.toml | ||
flake.lock | ||
flake.nix | ||
install.sh | ||
LICENSE | ||
README.md | ||
shell.nix |
The NixOS Installer
This installer is named after my doggo Onyxia.
At the core of this installer it does the following:
- Partition the drive of your choice using the
rsfdisk
crate. - Uses
flake.nix
to set certain modules depending on the system like nixos-hardware for the Pinebook Pro - Installs a base of NixOS (
configuration.nix
)
nix files are from this repo but that can be changed as needed.
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:
mkpasswd -m sha-512
Usage
- Boot from a live disk of NixOS (ideally the minimal image)
- Connect to network
- Download from the releases page using curl
curl $PATH
Older Bash installer
sh <(curl -L https://gitlab.com/ahoneybun/nyxi-installer/-/raw/main/install.sh)