1
0
Fork 0
selfhostblocks/nginx/mkunit.nix
2023-02-19 20:37:52 -08:00

24 lines
371 B
Nix

{ NginxService
}:
{ name
, configDir
, configFile
, user
, group
, runtimeDirectory
, serviceSuffix
, dependsOn ? {}
}:
{
inherit name configDir configFile;
inherit user group;
inherit runtimeDirectory;
pkg = NginxService {
inherit serviceSuffix;
inherit user group;
inherit configDir configFile;
};
inherit dependsOn;
type = "systemd-unit";
}