This commit is contained in:
admin 2024-03-25 00:18:55 +01:00
parent 2730b695e7
commit de609b4e69
4 changed files with 32 additions and 13 deletions

View file

@ -18,6 +18,20 @@ in
};
};
systemd.services.tailBrowser = with pkgs; {
enable = true;
description = "serve via tailscale filebrowser";
wantedBy = [ "multi-user.target" ];
unitConfig = {
After="filebrowser.target";
};
serviceConfig = {
ExecStart = "${tailscale}/bin/tailscale serve --http 80 localhost:8080";
# User= "jellyfin";
Type= "simple";
};
};
services.nginx.virtualHosts.${domain} = {
locations."/" = {