juspay/services-flake

Template to add a new service

Open

#53 opened on Sep 7, 2023

 (1 comment) (0 reactions) (0 assignees)Nix (63 forks)github user discovery
good first issue

Repository metrics

Stars
 (737 stars)
PR merge metrics
 (Avg merge 8d 1h) (10 merged PRs in 30d)

Description

A just command that takes the service name as an argument and creates nix/<service-name>.nix and nix/<service-name>_test.nix with a hello-world service example.

  • Maybe also add the files in the respective lists of nix/default.nix and test/flake.nix?

  • Update README to add the service

  • Comments specifying to take inspiration from either the nixos module or devenv module if either of them already implement the service.

Contributor guide