- Bootup any NixOS live CD
- Install Red Flake:
FLAKE="github:Red-Flake/red-flake-nix#redflake"
DISK_DEVICE=/dev/sda
sudo nix \
--extra-experimental-features 'flakes nix-command' \
run github:nix-community/disko#disko-install -- \
--flake "$FLAKE" \
--write-efi-boot-entries \
--disk main "$DISK_DEVICE"
=> replace /dev/sda
with your target root disk
Rebuild the already installed system from the flake
nixos-rebuild switch --install-bootloader --flake 'github:Red-Flake/red-flake-nix#redflake' --option eval-cache false
Community contributions are always welcome through GitHub Issues and Pull Requests.
Red-Flake is licensed under the GPL License.