master
Flake lock file updates:
• Updated input 'determinate':
'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.21.2/019edc7b-7758-7223-a52e-d8a340361a73/source.tar.gz' (2026-06-18)
→ 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.22.0/019fdd2b-320e-7cf1-8321-a350e90231d9/source.tar.gz' (2026-08-07)
• Updated input 'determinate/determinate-nixd-aarch64-darwin':
'https://install.determinate.systems/determinate-nixd/tag/v3.21.2/macOS'
→ 'https://install.determinate.systems/determinate-nixd/tag/v3.22.0/macOS'
• Updated input 'determinate/determinate-nixd-aarch64-linux':
'https://install.determinate.systems/determinate-nixd/tag/v3.21.2/aarch64-linux'
→ 'https://install.determinate.systems/determinate-nixd/tag/v3.22.0/aarch64-linux'
• Updated input 'determinate/determinate-nixd-x86_64-linux':
'https://install.determinate.systems/determinate-nixd/tag/v3.21.2/x86_64-linux'
→ 'https://install.determinate.systems/determinate-nixd/tag/v3.22.0/x86_64-linux'
• Updated input 'determinate/nix':
'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.21.1/019ea860-2acd-7680-ae61-10f9574b2694/source.tar.gz' (2026-06-08)
→ 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.22.0/019fdd0b-8551-7d43-a627-08af9d70b415/source.tar.gz' (2026-08-07)
• Updated input 'determinate/nix/flake-parts':
'https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.377%2Brev-49f0870db23e8c1ca0b5259734a02cd9e1e371a1/01972f28-554a-73f8-91f4-d488cc502f08/source.tar.gz' (2025-06-01)
→ 'https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.480%2Brev-17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e/019f2195-dee5-7233-9747-eca0c27f7406/source.tar.gz' (2026-07-01)
• Updated input 'determinate/nix/git-hooks-nix':
'https://api.flakehub.com/f/pinned/cachix/git-hooks.nix/0.1.1026%2Brev-80479b6ec16fefd9c1db3ea13aeb038c60530f46/0196d79a-1b35-7b8e-a021-c894fb62163d/source.tar.gz' (2025-05-16)
→ 'https://api.flakehub.com/f/pinned/cachix/git-hooks.nix/0.1.1231%2Brev-43b3c1ab9d40fb1dbb008f451988a91e375825e9/019f7135-8fdf-76f0-b1a1-d2c67e91af8d/source.tar.gz' (2026-07-17)
• Updated input 'determinate/nix/git-hooks-nix/flake-compat':
'github:edolstra/flake-compat/0f9255e' (2023-10-04)
→ 'github:NixOS/flake-compat/5edf11c' (2025-12-29)
• Removed input 'determinate/nix/git-hooks-nix/gitignore'
• Updated input 'determinate/nix/nixpkgs':
'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2511.909248%2Brev-0590cd39f728e129122770c029970378a79d076a/019ce32b-8ace-7339-b129-cceaa8dd10c6/source.tar.gz' (2026-03-11)
→ 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2605.1009383%2Brev-4382ed2b7a6839d4280a9b386db49cbc5907414d/019f6c11-ad78-7500-a194-d18a5bad0fbe/source.tar.gz' (2026-07-16)
• Updated input 'determinate/nixpkgs':
'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.1012902%2Brev-8c3cede7ddc26bd659d2d383b5610efbd2c7a16e/019eab22-bd1e-7e40-b919-277db893c789/source.tar.gz' (2026-06-08)
→ '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)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/a9cf754' (2026-06-27)
→ 'github:NixOS/nixos-hardware/2e790b0' (2026-07-28)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/714a5f8' (2026-06-27)
→ 'github:NixOS/nixpkgs/445d861' (2026-08-06)
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
Description
Languages
Nix
90.2%
Shell
9.2%
Makefile
0.6%