Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 606 Bytes

nixos-complete-nix.md

File metadata and controls

25 lines (20 loc) · 606 Bytes

Complete NixOS setup using Nix

Download NixOS (official documentation)
Be careful to choose the right CPU architecture.

Create new virtual machine using Parallel Desktop or VirtualBox.

Create shell where Git is present:

nix-shell -p git

Clone repository:

git clone https://github.com/daniel-mizsak/mtjd.git ~/mtjd

Run NixOS configuration based on CPU architecture:

sudo nixos-rebuild switch --impure --flake ~/mtjd/nix#vm-arm

or

sudo nixos-rebuild switch --impure --flake ~/mtjd/nix#vm-amd