2022-10-04 00:08:51 -07:00
|
|
|
{ HaproxyConfig
|
|
|
|
}:
|
|
|
|
{ name
|
|
|
|
, configDir
|
|
|
|
, configFile
|
2022-12-17 16:45:00 -08:00
|
|
|
, user
|
|
|
|
, group
|
2022-12-03 22:37:38 -08:00
|
|
|
, config
|
2022-10-04 00:08:51 -07:00
|
|
|
, dependsOn ? {}
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
inherit name configDir configFile;
|
2022-12-17 16:45:00 -08:00
|
|
|
inherit user group;
|
|
|
|
|
2022-10-04 00:08:51 -07:00
|
|
|
pkg = HaproxyConfig {
|
|
|
|
inherit configDir configFile;
|
2022-12-03 22:37:38 -08:00
|
|
|
inherit config;
|
2022-12-17 16:45:00 -08:00
|
|
|
inherit user group;
|
2022-10-04 00:08:51 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit dependsOn;
|
|
|
|
type = "fileset";
|
|
|
|
}
|