22 lines
374 B
Python
22 lines
374 B
Python
from typing import override
|
|
|
|
from archinstall.default_profiles.profile import Profile, ProfileType
|
|
|
|
|
|
class NginxProfile(Profile):
|
|
def __init__(self) -> None:
|
|
super().__init__(
|
|
"Nginx",
|
|
ProfileType.ServerType,
|
|
)
|
|
|
|
@property
|
|
@override
|
|
def packages(self) -> list[str]:
|
|
return ["nginx"]
|
|
|
|
@property
|
|
@override
|
|
def services(self) -> list[str]:
|
|
return ["nginx"]
|