Full NixOS fresh installation using custom flake configs

Sep 10, 2025 · 1 min · 149 words

nixos linux installation

Recently my main laptop disk storage is blowing up, and I am amazed by how fast I am filling up nearly 1T of storage in merely a year after I got this laptop (Asus Zenbook Duo 2024).

I bought the Samsung 990 EVO Plus 4T SSD after browsing the internet for comparisons. This SSD fits perfectly for my need: fast, large, low temperature, and power efficient.

Installation guide

First thing to do is to create a bootable USB drive. To do that, we first need the NixOS image. Generate using:

nix build github:ausbxuse/nixos-config#gnome-iso

You will see something like result/.../minimal.iso in your working directory.

Plug a portable USB drive (>=4G) onto your laptop, boot into it, connect to internet, download my nixos-config repo, diskoize your disk, cp hardware-configuration.nix to appropriate location in repo, and run nixos-install. Viola, you are all set.

Remember to cp back your old personal data.