dotfiles.nix/nixos/lavender/containers/nginx/default.nix

14 lines
229 B
Nix
Raw Normal View History

2023-05-21 17:41:24 +08:00
{ ... }:
{
# Nginx
virtualisation.oci-containers.containers."nginx" = {
autoStart = true;
image = "nginx";
volumes = [
"/srv/containers/nginx:/usr/share/nginx/html"
];
ports = [ "8282:80" ];
};
}