Add NixOS flake with dev shell, package, and systemd module

Includes nix develop shell (node, pg, vips), buildNpmPackage derivation,
and a NixOS module for deploying as a systemd service with hardening,
dedicated user, and configurable secrets via environmentFile.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 10:04:14 +07:00
parent 6f0e0ad6c6
commit 28f8e3b7b2
4 changed files with 276 additions and 0 deletions
+2
View File
@@ -5,3 +5,5 @@ build
static/uploads/**
!static/uploads/.gitkeep
*.db
result
.direnv