ATP

Introducing My NixOS NAS🧊

2025-03-04

You can find my config here

A Few Words Before

Building this NixOS NAS has been a journey of both discovery and satisfaction. My passion for NixOS began 1 year ago when I realized that its declarative configuration model could simplify even the most complex system setups. I decided to channel that passion into creating a robust, secure, and highly reproducible NAS solution that not only meets my storage needs but also serves as a playground for experimenting with modern technologies.

Every aspect of this system, from the carefully( maybe 🙃) chosen hardware components to the selection of software tools, was driven by a desire for reliability and ease of management. The declarative approach allowed me to automate almost every task. The sense of control and precision has made managing my NAS an enjoyable and continuously rewarding experience.

It’s incredibly satisfying to see the system handle tasks flawlessly, ensuring that data is secure and always available. The entire project is a reflection of my commitment to reproducible and declarative configurations, and it stands as a personal milestone in my ongoing exploration of NixOS.

Hardware Specifications

namecontent
MotherboardGIGABYTE A520i Dash
CPUR5 5600G
Memory16GB
SSD512GB
HDD2 x 1 TB

Key Features✨

  • Declarative configuration of nas systems, ❤️love from ❄️nixos
  • Supports essential applications including Immich, Syncthing, Alist, SMB, and more.
  • Declarative configuration of hard disk partitions
  • Remote deployment capability
  • Critical data is securely encrypted
  • Standardized NixOS configuration management with Clan
  • Robust ZFS file systems, powerful💪
  • Automated backup routines
  • Optimized power consumption
  • Basic monitoring and backup notifications.
  • Automatic TLS certificate provisioning
  • Highly reproducible configuration, at least for me, ❤️love from ❄️nixos again

Technology Stack

namedescription
nixosOperating system
zfsFile system
diskoDeclarative managed filesystems
nix-sopsCritical information encryption
clanPeer-to-peer computer management framework, powered by nix❄️
nginxReverse proxy
go-acmeAutomatic tls certificate request
resticAutomatic backups
gotifyAutomatic send notifications
dashyHomepage
glancesSystem monitoring integrated with Dashy
synchingSynchronizes important data for real-time backups
immichFamily digital camera management
cockpitSystem panel
forgejoSelf-hosted git server
alistWeb document client
wakapiCode statistics tracking

overview

Dashy(homepage)

System fastfetch

Restic + Gotify(Backup message)

Deploying

ZFS(this is my 🧊💪)