diff --git a/bordervm-configuration.nix b/bordervm-configuration.nix index 1488b9a..fbc77a5 100644 --- a/bordervm-configuration.nix +++ b/bordervm-configuration.nix @@ -89,6 +89,16 @@ in { }; }; + services.nginx = { + enable = true; + user = "liminix"; + virtualHosts.${config.networking.hostName} = { + root = "/home/liminix"; + default = true; + }; + }; + systemd.services.nginx.serviceConfig.ProtectHome = "read-only"; + systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ]; virtualisation = { diff --git a/pkgs/http-fstree/example.json b/examples/secrets.json similarity index 100% rename from pkgs/http-fstree/example.json rename to examples/secrets.json