• 2 Posts
  • 89 Comments
Joined 1 year ago
cake
Cake day: April 27th, 2024

help-circle

  • Yeah, but no dark magic involved.

    • build image
    • copy to proxmox ISO store
    • import, resize disk
    • start, wait to come online
    • read ssh pubkey, save it
    • rekey secrets
    • rebuild VM

    The only “magic” parts are two nix modules for handling proper networking and hardware setup, and exposing required attributes to the script.

    Works really well, zero manual config (beyond the services you want to run…) required on nix or proxmox side.



  • Funny - same thing here. Got 3 proxmox hosts running, all virtual machines are NixOS though.

    I’d love to go full Nix, but between my GF and I, we kinda split the responsibilities: hardware is hers, applications are mine. And there’s not a chance she’ll give up her Proxmox hosts 😄

    Got it automated to a single “provision” command though that will spin up any of my nix VMS unanttended, so I’m happy with that.







  • Actual answer for 3:

    • put jellyfin behind a proper reverse proxy. Ideally on a separate host / hardware firewall, but nginx on the same host works fine as well.
    • create subdomain, let’s say sub.yourdomain.com
    • forward traffic, for that subdomain ONLY, to jellyfin in your reverse proxy config
    • tell your relatives to put sub.yourdomain.com into their jellyfin app

    All the fear-mongering about exposing jellyfin to the internet I have seen on here boils down to either

    • “port forwarding is a bad idea!!”, which yes, don’t do that. The above is not that. Or
    • “people / bots who know your IP can get jellyfin to work as a 1-bit oracle, telling you if a specific media file exists on your disk” which is a) not an indication for something illegal, and b) prevented by the described reverse proxy setup insofar as the bot needs to know the exact subdomain (and any worthwhile domain-provider will not let bots walk your DNS zone).

    (Not saying YOU say that; just preempting the usual folklore typically commented whenever someone suggests hosting jellyfin publicly accessible)