18 lines
225 B
Nix
18 lines
225 B
Nix
|
{ HaproxyService
|
||
|
}:
|
||
|
{ name
|
||
|
, configDir
|
||
|
, configFile
|
||
|
, dependsOn ? {}
|
||
|
}:
|
||
|
|
||
|
{
|
||
|
inherit name configDir configFile;
|
||
|
pkg = HaproxyService {
|
||
|
inherit configDir configFile;
|
||
|
};
|
||
|
|
||
|
inherit dependsOn;
|
||
|
type = "systemd-unit";
|
||
|
}
|