1
0
Fork 0
selfhostblocks/haproxy/mkconfig.nix

24 lines
308 B
Nix
Raw Normal View History

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