From 164f7ca1e2316d5b666756e4134aa3bbdcb1afa6 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Tue, 23 May 2023 09:36:07 +0200 Subject: [PATCH] templates/top: show how to use NixOS integration --- templates/top/flake.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/top/flake.nix b/templates/top/flake.nix index a237d61c..c244447e 100644 --- a/templates/top/flake.nix +++ b/templates/top/flake.nix @@ -45,6 +45,14 @@ # --- checks.files = [./checks/simple.nix]; + # Used when generating NixOS systemd services, for example for + # deployment to production, or for the NixOS tests in checks/ + # --- + nixos.services.ioc = { + app = "example"; + ioc = "iocExample"; + }; + # You can specify environment variables in your development shell like this: # --- #devShell.environment.variables = {