4101698174fe2fb16ecb5c89840004da0632e5fb
Flake lock file updates:
• Updated input 'determinate':
'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.22.3/01a06698-e4aa-7ed0-adb3-2be018fc0c1f/source.tar.gz' (2026-09-03)
→ 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.22.5/01a0b15b-1d43-7be1-beb0-8aa22a4d3d93/source.tar.gz' (2026-09-17)
• Updated input 'determinate/determinate-nixd-aarch64-darwin':
'https://install.determinate.systems/determinate-nixd/tag/v3.22.3/macOS'
→ 'https://install.determinate.systems/determinate-nixd/tag/v3.22.5/macOS'
• Updated input 'determinate/determinate-nixd-aarch64-linux':
'https://install.determinate.systems/determinate-nixd/tag/v3.22.3/aarch64-linux'
→ 'https://install.determinate.systems/determinate-nixd/tag/v3.22.5/aarch64-linux'
• Updated input 'determinate/determinate-nixd-x86_64-linux':
'https://install.determinate.systems/determinate-nixd/tag/v3.22.3/x86_64-linux'
→ 'https://install.determinate.systems/determinate-nixd/tag/v3.22.5/x86_64-linux'
• Updated input 'determinate/nix':
'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.22.3/01a063f1-9def-7051-9003-4691ca024a72/source.tar.gz' (2026-09-02)
→ 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.22.5/01a0b14c-a282-7291-953e-6e8ddd04304b/source.tar.gz' (2026-09-17)
• Updated input 'determinate/nixpkgs':
'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.1060451%2Brev-56c02bc00adcf003215cc4bd996d6efaf4cff188/01a05b78-a1af-7e32-b8fa-6b77e11317d1/source.tar.gz' (2026-08-23)
→ 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.1068949%2Brev-dc5d91f840324650bac8c379428c7037a416959a/01a0a392-87f7-7a12-88cf-358485bd5ec1/source.tar.gz' (2026-09-07)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/83bbc89' (2026-09-09)
→ 'github:NixOS/nixos-hardware/9ebcb77' (2026-09-21)
• Updated input 'nixos-hardware/nixpkgs':
'https://releases.nixos.org/nixos/unstable/nixos-26.05pre924538.3497aa5c9457/nixexprs.tar.xz' (2026-01-08)
→ 'https://releases.nixos.org/nixos/unstable/nixos-26.11pre1074753.b1b875982b17/nixexprs.tar.xz' (2026-09-16)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/6aefcda' (2026-09-09)
→ 'github:NixOS/nixpkgs/1e8bc65' (2026-09-21)
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%