A fast installer for my personal NixOS setup.
Find a file
2022-05-06 19:52:53 +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
config-gnome.nix Update config-gnome.nix 2022-05-06 19:48:29 +00:00
config-pantheon.nix Add new file 2022-05-06 18:18:16 +00:00
config.nix Update config.nix 2022-05-06 17:19:56 +00:00
configuration.nix Update configuration.nix 2022-05-06 16:35:40 +00:00
install.sh Update install.sh 2022-05-06 19:52:53 +00:00
README.md Update README.md 2022-05-06 18:52:55 +00:00

The NixOS Installer

This installer does the following at it's core:

  • Partition the drive of your choice
  • Encrypts the installation
  • Installs a base of NixOS

Tested on the following drives:

  • SATA
  • M.2 NVMe

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 root partition at /dev/***2.
  • Create a swap partition at /dev/***3 with the choice to set it as the same size as the RAM.
  • Install systemd-boot.

After Installation ...

...

Roadmap

  • Encrypt /root

Possible Ideas