A fast installer for my personal NixOS setup.
Find a file
2022-06-11 19:30:47 +00:00
configs Add config files for Plasma 2022-06-07 17:41:46 -06: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 Add user to adm group for firmware-manager software 2022-06-08 17:35:04 +00:00
install.sh Add programs.nix file 2022-06-07 00:02:19 +00:00
lemp.nix Update lemp.nix 2022-06-08 14:57:37 +00:00
plasma.nix Add framework 2022-06-11 16:41:13 +00:00
programs.nix Add LibreOffice Fresh 2022-06-11 16:05:59 +00:00
README.md Update README.md 2022-06-08 21:32:28 +00:00
setup.sh Update setup.sh 2022-05-19 15:26:08 +00:00
unstable.nix Adds unstable file for testing. 2022-06-11 19:30:47 +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 (configuration.nix)
  • Installs Plasma (plasma.nix)
  • Installs needed packages (programs.nix)

Nix files:

  • configuration.nix : This is the main file for the base system including some applications that I use
  • plasma.nix : This file is for the desktop, login manager and other KDE applications
  • programs.nix : This file adds applications like Slack, Discord and virt-manager including turning on the services

Plasma files:

  • configs/kwinrc : This has my setting for the Super key (Meta in Plasma) behavior
  • configs/kglobalshortcutsrc : This has window control shortcuts like moving between Workspaces (Desktops in Plasma)

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/nyxi-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 if requested.
  • Create a root partition in the LVM.
  • Install systemd-boot.

After Installation ...

...

Roadmap

Possible Ideas