forked from M-Labs/nix-scripts
16 lines
316 B
Nix
16 lines
316 B
Nix
{ config, pkgs }:
|
|
|
|
let
|
|
pkg = pkgs.callPackage ./pkg.nix {};
|
|
in {
|
|
type = "normal";
|
|
pythonPackages = self: [ pkg ];
|
|
module = "mattermostgithub:app";
|
|
env = [
|
|
"MGI_CONFIG_FILE=${./config.py}"
|
|
];
|
|
socket = "${config.services.uwsgi.runDir}/uwsgi.sock";
|
|
# allow access from nginx
|
|
chmod-socket = 666;
|
|
}
|