Skip to content

ushiradineth/homelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🧪 Homelab Configuration

About

  • This repository consists of IAC that helps me boot up my 'home server' infrastructure using terraform.

🔧 Stack

  • NixOS
  • Terraform
  • Cloudflare

âš“ Services

  • Prometheus, Grafana, Alert Manager, Node Exporter
  • cloudflared
  • Cron Backend
  • PostgreSQL
  • Traefik
  • Uptime Kuma
  • Homepage

Pre-requisites

Install terraform

Install tflint

Terraform login

  • terraform login

Setup ENVs

  • Generate passwords and secrets externally using openssl rand -base64 32

Create Cloudflare API Token with the following permissions

Cloudflare Permission

Pre-validation

Please run the following commands before committing or applying any changes:

cd /environment/<env>
terraform validate
terraform fmt --recursive
tflint
cd ../..
terraform validate
terraform fmt --recursive
tflint

Setting up the Server

  • Follow the documentation from the nix-config repository.

About

Homelab configuration using NixOS and Terraform

Topics

Resources

Stars

Watchers

Forks

Languages