Flake-based NixOS configuration for Dell Inspiron 15 3525 (AMD Ryzen, Radeon graphics).
- Install NixOS (minimal) from USB.
- Clone this repo:
git clone https://github.com/Baustinlynch/dotfiles /etc/nixos - Generate hardware config:
sudo nixos-generate-config --show-hardware-config > hosts/laptop/hardware-configuration.nix - Apply:
sudo nixos-rebuild switch --flake .#laptop
Use nixos-rebuild build-vm --flake .#laptop on a NixOS machine, or install NixOS in a VM (Hyper-V/VirtualBox) and run the steps above.