diff --git a/dev-environment/default.nix b/dev-environment/default.nix index 577986c1..a3df6156 100644 --- a/dev-environment/default.nix +++ b/dev-environment/default.nix @@ -20,10 +20,13 @@ ] ++ lib.optionals servicesSettings.adb [./adb-toolchain.nix] ++ lib.optionals servicesSettings.nginx [ - ./nginx.nix + ./localhost-website.nix ./adminer.nix ./mysql.nix ]; + services.nginx.enable = servicesSettings.nginx; + services.nginx.package = pkgs.nginxQuic; + programs.java.enable = true; } diff --git a/dev-environment/nginx.nix b/dev-environment/localhost-website.nix similarity index 98% rename from dev-environment/nginx.nix rename to dev-environment/localhost-website.nix index 6aad6cdc..5d20645c 100644 --- a/dev-environment/nginx.nix +++ b/dev-environment/localhost-website.nix @@ -8,8 +8,6 @@ userSettings, ... }: { - services.nginx.enable = true; - # Nginx virtual host configuration for localhost services.nginx.virtualHosts."localhost" = { root = "/var/www/localhost-server";