Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

795 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bert's Nix

I hate to do it to you, but go look into the flake subdirectory for the information you came for.

Setup

At the end of these steps you'll have a Hyper-V virtual machine running the development machine configuration.
High level approach; Create the virtual machine, boot the bootstrap ISO, download and install the development host configuration.

  1. Download boot/install ISO for the development host from the repository releases page
  2. Setup a new hyper-v virtual machine on your machine, refer to the script hyperv-vm.ps1
  3. Bootstrap
  4. Boot VM from ISO
  5. Clone repository; git clone https://github.com/Bert-Proesmans/nix.git
  6. Open development environment; cd nix && nix develop
  7. Set (nixos) user password; passwd
  8. Install system; invoke deploy development localhost
    • You'll be asked to provide the password created in the previous step
  9. Reboot VM without ISO
  10. In your windows environment, add a configuration block to the SSH config file (typically found at C:\Users\<UserName>\.ssh\config)
Host local-development
  HostName fde0:5584:ba8e::139
  User <your-user-name>
  ForwardAgent yes
  1. In your windows environment, test SSH connectivity
  2. ping fde0:5584:ba8e::139
  3. ssh local-development
  4. Trust the SSH host-key of your local-development virtual machine
  5. Connect to your development machine and update once to the most recent version See "Maintain your development machine" below DONE

Important

You must trust the host key once interactively! Both VSCode and Git will hang on this question, if not previously marked as trusted, because they execute non-interactive processes in the background.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages