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

@ -112,10 +112,12 @@
# wget # wget
cloudflared cloudflared
filebrowser filebrowser
dufs
git git
helix helix
nil nil
starship starship
tailscale
]; ];
programs.fish= { programs.fish= {

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} = { services.nginx.virtualHosts.${domain} = {
locations."/" = { locations."/" = {

View file

@ -11,11 +11,11 @@
./audiobooks.nix ./audiobooks.nix
./tunnel.nix ./tunnel.nix
./forgejo.nix ./forgejo.nix
# ./nextcloud.nix ./nextcloud.nix
./jellyfin.nix ./jellyfin.nix
./filebrowser.nix ./filebrowser.nix
./tail.nix
# ./matrix.nix # ./matrix.nix
# ./tail.nix
# ./coturn.nix # ./coturn.nix
]; ];

View file

@ -1,6 +1,9 @@
{...}: {...}:
{ {
services.nginx.enable = true; services.nginx = {
enable = true;
clientMaxBodySize = "10g";
};
services.cloudflared = { services.cloudflared = {
enable = true; enable = true;
tunnels = { tunnels = {
@ -12,5 +15,5 @@
}; };
}; };
}; };
}; };
} }