This repository consists of my personal NixOS configuration files. This is a flake repository. You know what to do!
frost: x86_64
dell: x86_64
rpi: aarch64
iso: x86_64
To build the ISO image corresponding to nixos/iso
configuration use:
nix build .#nixosConfigurations.live.config.system.build.isoImage
Partition and mount root, nix, boot and home using fdisk
and mount
. For each hostname, replace host
with desired hostname:
sudo fdisk /dev/sdX #Recommended /, /boot and /nix partitions. Optionally, /home
sudo mount /dev/sdXX #Mount all filesystems to /mnt
git clone https://github.com/RaySlash/nixos-config && cd nixos-config
rm */host/hardware-configuration.nix
sudo nixos-generate-config --root /mnt
sudo cp /etc/nixos/hardware-configuration.nix nixos/host/
sudo nixos-install --flake .#host
For each hostname, replace host
with desired hostname:
git clone https://github.com/RaySlash/nixos-config && cd nixos-config
rm */host/hardware-configuration.nix
sudo cp /etc/nixos/hardware-configuration.nix nixos/host/
sudo nixos-rebuild boot --flake .#host