Fix up args

master
Sven Slootweg 7 years ago
parent 704cfc7eb8
commit a140780ccd

@ -1,5 +1,5 @@
{pkgs, ...}:
(import ../lib/node-application.nix) { inherit pkgs; } {
{pkgs, ...}@args:
(import ../lib/node-application.nix) args {
tarball = "https://git.cryto.net/joepie91/pastebin-stream/archive/master.tar.gz";
name = "pastebin-stream";
hasErrorReporting = true;

@ -1,4 +1,4 @@
{pkgs}: {tarball, name, mainBinaryPath, serviceOptions ? {}, serviceConfig ? {}, hasErrorReporting ? false}:
{pkgs, config, ...}: {tarball, name, mainBinaryPath, serviceOptions ? {}, serviceConfig ? {}, hasErrorReporting ? false}:
with pkgs.stdenv.lib;
let

@ -1,7 +1,7 @@
{
network.description = "Cryto";
osmium = { config, lib, pkgs, ... }: let
osmium = { config, lib, pkgs, ... }@args: let
proxiedApplications = [{
hostname = "pastebin-stream.cryto.net";
tls = false;
@ -23,7 +23,7 @@
pastebinStream = (import ../applications/pastebin-stream.nix);
in {
imports = [
pastebinStream { inherit pkgs; }
pastebinStream args
];
services.caddy = {

Loading…
Cancel
Save