Skip to content

vorant94/homelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start from scratch

  1. Install Raspberry Pi OS Lite on a MicroSD with Raspberry Pi Imager
    • Raspberry Pi Imager is also available on Homebrew
    • enable access via SSH during installation
  2. SSH into Raspberry Pi
  3. Install Nix Package Manager
    • go with multi-user installation
    • run nix-channel --update to fix warning: Nix search path entry '/home/vorant94/.nix-defexpr/channels' does not exist, ignoring, source
  4. Install Home Manager
    • choose latest stable channel (like 24.11)
  5. Install git via Nix
    • edit ~/.config/home-manager/home.nix directly
  6. Clone Homelab repo
  7. Replace default Home Manager folder with symlink to one in repo
    • example ln -s ~/homelab/home-manager ~/.config/home-manager
  8. Authenticate GitHub user
    • adding SSH key to GitHub account -> here

Cheatsheet

  • Check Raspberry Pi model
    • cat /sys/firmware/devicetree/base/model
    • current output: Raspberry Pi 4 Model B Rev 1.4
  • Check Raspberry Pi OS architecture
    • uname -m.
    • current output: aarch64

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks