blob: a3666a67a3bc35814a0c38de36670140b461ae88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ config, lib, pkgs, ... }:
let
cfg = config.orbekk.fcgiwrap;
aliases = import ../data/aliases.nix;
in {
options = {
orbekk.fcgiwrap = {
enable = lib.mkEnableOption "Enable monitoring server";
};
};
config = lib.mkIf cfg.enable {
services.fcgiwrap = {
enable = true;
socketType = "unix";
# socketType = "tcp";
# socketAddress = "0.0.0.0:${toString fcgiPort}";
user = "fcgi";
group = "fcgi";
};
};
}
|