From 4cd711d3abf51bfba9c4991eb22743c9c5dc3ca7 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 1 Mar 2024 15:33:43 +0100 Subject: feed-nomath-org: init --- apps/feed-nomath-org/module.nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 apps/feed-nomath-org/module.nix (limited to 'apps/feed-nomath-org/module.nix') diff --git a/apps/feed-nomath-org/module.nix b/apps/feed-nomath-org/module.nix new file mode 100644 index 0000000..e9c0937 --- /dev/null +++ b/apps/feed-nomath-org/module.nix @@ -0,0 +1,6 @@ +{ appConfig, lib, pkgs, ... }: { + systemd.services."feed-nomath-org".environment.PORT = "8080"; + systemd.services."feed-nomath-org".environment.REPOSITORIES = lib.concatStringsSep ":" appConfig.repositories; + systemd.services."feed-nomath-org".script = "${pkgs.feed-nomath-org}/bin/feed-nomath-org"; + systemd.services."feed-nomath-org".wantedBy = [ "multi-user.target" ]; +} -- cgit v1.2.3