How to Setup a NixOS Server from Scratch (Traefik, Postgres, MySQL, Containers)

Опубликовано: 05 Февраль 2025
на канале: Sascha Koenig
645
29

After a longer holiday I need to get back into making videos. Since I am switching server I thought it would be interesting to show the installation process of a new server with NixOS using NixOS anywhere.
For more in depth explanations please have a look at NixOS playlist:
   • Rebuilding my NixOS flake configurati...  

Git Repo for my NixOS Flake: https://code.m3tam3re.com/m3tam3re/ni...
Git Repo for my Flake Templates: https://code.m3tam3re.com/m3tam3re/ni...

🕒 Timestamps:
00:00:00 Introduction & Background
00:01:30 NixOS Flake Setup
00:06:30 NixOS Anywhere Installation
00:09:40 Basic Service Configuration
00:11:50 Secrets Management
00:17:30 Database Setup (Postgres & MySQL)
00:22:40 Container Configuration
00:27:00 Deploying BaseRow
00:28:20 Setting Up Ghost Blog
00:31:00 Final Steps & Data Migration

🔧 What You'll Learn in This Video:
✓ How to install NixOS on a remote server using NixOS Anywhere
✓ Setting up essential services like Traefik, Postgres, and MySQL
✓ Managing secrets and system configuration with Nix Flakes
✓ Deploying containerized applications using Podman
✓ Implementing automated database backups

🔗 Useful Links:
• NixOS Anywhere GitHub: https://github.com/nix-community/nixo...
• NixOS Official Website: https://nixos.org/
• Disko Documentation: https://github.com/nix-community/disko
• 🧰 Tools i use: https://www.m3tam3re.com/tools/

🔔 Subscribe for more NixOS tutorials and DevOps content!
👍 If you found this helpful, please give it a like
🤝 Share this with other NixOS enthusiasts
💬 Drop your questions and experiences in the comments below

🤝 Connect With Me:
Newsletter: https://www.m3tam3re.com
Blog: https://www.m3tam3re.com
All Links: https://links.m3tam3re.com/
YouTube:    / @m3tam3re  
X: https://x.com/m3tam3re

💡 Pro Tip: NixOS Anywhere is a game-changer for DevOps professionals and system administrators looking to streamline their infrastructure deployment!

#NixOS #DevOps #SystemAdministration #LinuxTutorial #CloudComputing #OpenSource #NixOSAnywhere