A fast installer for my personal NixOS setup.
Find a file
Aaron Honeycutt 37a5cffc39 Merge branch 'split-config' into 'main'
Split config

See merge request ahoneybun/nyxi-installer!6
2022-05-31 16:54:39 +00:00
.gitlab-ci.yml Configure SAST in .gitlab-ci.yml, creating this file if it does not already exist 2021-12-29 18:45:36 +00:00
configuration.nix Update configuration.nix 2022-05-31 15:34:28 +00:00
install.sh Update install.sh 2022-05-31 13:48:06 +00:00
plasma.nix Update plasma.nix 2022-05-31 13:34:50 +00:00
README.md Update README.md 2022-05-21 21:07:57 +00:00
setup.sh Update setup.sh 2022-05-19 15:26:08 +00:00

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
  • Installs a base of NixOS
  • Installs Plasma
  • Installs needed packages

Tested on the following drives:

  • SATA
  • NVMe

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:

sudo mkpasswd -m sha-512

Get Started

Prerequisites:

  • Prepare an installation medium.
  • Boot the live environment.
  • Connect to internet.

Connect to internet

https://nixos.org/manual/nixos/stable/index.html#sec-installation-booting-networking

Start the installer

curl https://gitlab.com/ahoneybun/nixos-cli-installer/-/raw/main/install.sh > install.sh; sh install.sh

The following will happen:

  • Clear partition table for /dev/***.
  • Creates a GPT partition table for /dev/***.
  • Create a +512M 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.
  • Create a root partition in the LVM.
  • Install systemd-boot.

After Installation ...

...

Roadmap

Possible Ideas