2022-10-04 09:08:51 +02:00
|
|
|
{ HaproxyConfig
|
|
|
|
}:
|
|
|
|
{ name
|
|
|
|
, configDir
|
|
|
|
, configFile
|
2022-12-18 01:45:00 +01:00
|
|
|
, user
|
|
|
|
, group
|
2022-12-04 07:37:38 +01:00
|
|
|
, config
|
2022-10-04 09:08:51 +02:00
|
|
|
, dependsOn ? {}
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
inherit name configDir configFile;
|
2022-12-18 01:45:00 +01:00
|
|
|
inherit user group;
|
|
|
|
|
2022-10-04 09:08:51 +02:00
|
|
|
pkg = HaproxyConfig {
|
|
|
|
inherit configDir configFile;
|
2022-12-04 07:37:38 +01:00
|
|
|
inherit config;
|
2022-12-18 01:45:00 +01:00
|
|
|
inherit user group;
|
2022-10-04 09:08:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit dependsOn;
|
|
|
|
type = "fileset";
|
|
|
|
}
|