diff --git a/configuration.nix b/configuration.nix index d58cda7..b21922d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -109,6 +109,19 @@ # accidentally delete configuration.nix. # system.copySystemConfiguration = true; + services.nginx = { + enable = true; + virtualHosts."localhost" = { + root = "${pkgs.nginx}/html"; + listen = [ + { + addr = "0.0.0.0"; + port = 1234; + } + ]; + }; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave