1
0
Fork 0
selfhostblocks/nginx/mkunit.nix

25 lines
371 B
Nix
Raw Normal View History

2022-10-04 09:08:51 +02:00
{ 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";
}