1
0
Fork 0
selfhostblocks/haproxy/mkconfig.nix

20 lines
277 B
Nix
Raw Normal View History

2022-10-04 09:08:51 +02:00
{ HaproxyConfig
}:
{ name
, configDir
, configFile
, config
2022-10-04 09:08:51 +02:00
, dependsOn ? {}
}:
{
inherit name configDir configFile;
inherit (config) user group;
2022-10-04 09:08:51 +02:00
pkg = HaproxyConfig {
inherit configDir configFile;
inherit config;
2022-10-04 09:08:51 +02:00
};
inherit dependsOn;
type = "fileset";
}