Skip to content

Commit

Permalink
templates/top: show how to use NixOS integration
Browse files Browse the repository at this point in the history
  • Loading branch information
minijackson committed May 23, 2023
1 parent 91b3431 commit 164f7ca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/top/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 164f7ca

Please sign in to comment.