[nix] add a simple flake

This contains the postgres dependency, but not haskell.
2 jobs for master in 8 minutes and 29 seconds (queued for 3 minutes and 8 seconds)
Status Job ID Name Coverage
  Build
passed #14080
build

00:03:45

 
  Integration Tests
passed #14081
integration-tests

00:04:44