219eedb988c1e1aea5b2b79e5d6e2e467750a773
Flake lock file updates:
• Updated input 'determinate':
'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.22.0/019fdd2b-320e-7cf1-8321-a350e90231d9/source.tar.gz' (2026-08-07)
→ 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.22.1/01a01b87-a478-7c30-bfa0-e436091ec74b/source.tar.gz' (2026-08-19)
• Updated input 'determinate/determinate-nixd-aarch64-darwin':
'https://install.determinate.systems/determinate-nixd/tag/v3.22.0/macOS'
→ 'https://install.determinate.systems/determinate-nixd/tag/v3.22.1/macOS'
• Updated input 'determinate/determinate-nixd-aarch64-linux':
'https://install.determinate.systems/determinate-nixd/tag/v3.22.0/aarch64-linux'
→ 'https://install.determinate.systems/determinate-nixd/tag/v3.22.1/aarch64-linux'
• Updated input 'determinate/determinate-nixd-x86_64-linux':
'https://install.determinate.systems/determinate-nixd/tag/v3.22.0/x86_64-linux'
→ 'https://install.determinate.systems/determinate-nixd/tag/v3.22.1/x86_64-linux'
• Updated input 'determinate/nix':
'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.22.0/019fdd0b-8551-7d43-a627-08af9d70b415/source.tar.gz' (2026-08-07)
→ 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.22.1/01a01a62-3751-7452-879c-be17f74a7df2/source.tar.gz' (2026-08-19)
• Updated input 'determinate/nixpkgs':
'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.1042126%2Brev-624af665418d3c65d544145b4d34ad696439570e/019fcb6c-e772-7cb3-baa0-211e12b79e38/source.tar.gz' (2026-07-26)
→ 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.1050399%2Brev-279b4a8275f032c566576b3f181fa0f27197f588/01a01364-0c36-7a91-b20d-31b3a834ddeb/source.tar.gz' (2026-08-09)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/2e790b0' (2026-07-28)
→ 'github:NixOS/nixos-hardware/0471acc' (2026-08-19)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/445d861' (2026-08-06)
→ 'github:NixOS/nixpkgs/b18a4b9' (2026-08-19)
NixOS Server
Configuration files for my personal server, powered by NixOS.
Modules
The configuration is sliced into different files, per category:
- ZFS pool configuration: hardware-configuration.nix
- Network configuration: networking.nix
- Synchronization and backup services: datasync.nix
- Web services and reverse proxy: webstack.nix
- Development tools: devops.nix
- Smartd: monitoring.nix
- Systemd services and timers: periodic.nix
- Curated articles: information.nix
All the modules are imported in configuration.nix
Installation
- Download the sdcard image
- Use initial config file
cp install.nix configuration.nix
- Move the repo to the server and the agenix key
scp -r Projects/zion zion:/home/nixos/system
scp .ssh/zion root@zion:/etc/ssh/id_ed25519
- Mount the firmware partition
mount /dev/mmcblk1p1 /boot
- Rebuild the system using Flakes
nix-shell -p git
sudo nixos-rebuild switch --flake /home/nixos/system#zion
- Restore the SQL databases
gunzip -c /vault/backups/zion/databases/all.sql.gz | psql -U postgres
Languages
Nix
90.4%
Shell
9%
Makefile
0.6%