diff --git a/nixos-configurations/server/default.nix b/nixos-configurations/server/default.nix index e6bd295..ed4dce9 100644 --- a/nixos-configurations/server/default.nix +++ b/nixos-configurations/server/default.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ inputs, pkgs, ... }: { imports = [ @@ -41,6 +41,23 @@ forceSSL = true; root = inputs.website; }; + "aurora.thilohohlt.com" = { + enableACME = true; + forceSSL = true; + root = pkgs.buildNpmPackage { + name = "build-aurora-blog"; + buildInputs = with pkgs; [ + nodejs_18 + ]; + src = builtins.path { path = ./.; name = "aurora-blog-example"; }; + npmDepsHash = ""; + npmBuild = "npm run build"; + installPhase = '' + mkdir $out + cp -r dist/* $out + ''; + }; + }; }; }; };