• 3 Posts
  • 45 Comments
Joined 8 months ago
cake
Cake day: April 27th, 2024

help-circle






  • I thought about adding a link, but am a bit hesitant to de-anonymize myself on here 😅

    But it’s basically this:

    • Proxmox is not Nix configured. There’s a project for that, but IMO t’ll take a couple of years to be ready for production.
    • I’ve created a custom nix module that essentially just sets my default values for stuff like bios type, boot order,… And allows to set CPU cores, RAM, IP,…
    • all this does though is just setting the corresponding values from the nixos-generators proxmox output
    • additionally, all the usual stuff is handled (user, known ssh keys, base config of the system)
    • for each VM, I only have a single file containing the VM settings (ID, RAM, cpu, ip,…) and the service config for whatever the VM is for
    • then lastly I have a custom script/shell that essentially just allows to do “nixvm-new <flake output name>” which generates the image, moves it to the nas, and calls on proxmox to import the image, plus some cleanup

    TBH this sounds way more complicated than it is / feels to use 😄


  • (Preface: almost all of this is handled in a single Nix config, and no docker in use at all)

    At home, in a two-hosts Proxmox cluster:

    • blocky for adblocking
    • a full *arr stack with torrents and nzbs for uuuuuuhhh Linux ISOs
    • Jellyfin so friends and family can watch, I mean use the Linux ISOs
    • Paperless (HIGHLY recommend)
    • Wastebin (Pastebin alternative)
    • Sterling-PDF (also really recommend, allowed me to get rid of Acrobat Reader for filling out and signing PDFs, plus a bunch more)
    • Homeassistant
    • Linux and Windows clients available for whenever you might need them (not often, but can come in handy)
    • Borg client, backing up parts of my NAS to a cloud storage box
    • OPNSense backup for the hardware firewall
    • Forgejo

    On a bare metal machine at a reputable cloud provider:

    • my personal Email, Calendar, Contacts (super easy with Nix)
    • another blocky instance
    • another borg client
    • Rustdesk server (OSS Teamviewer)
    • wireguard that’s just used by my TV so crunchyroll thinks it’s in (other country), Lmao

    Wishlist:

    • Vaultwarden
    • Immich, once added to nixpkgs
    • PeerTube
    • Pixelfed





  • I had multiple failed starts with (n)vim, always getting frustrated way before I had a usable setup, until I just used NvChad. It’s basically a preconfigured version, with all the plugins, keybinds,… you could probably want.

    It gave me something usable right out of the box. I continued tinkering with it for almost two years before moving on to my completely custom configuration.

    IMO the people that say you should start with bare (n)vim in order to learn everything from the ground up are delusional. There’s no reason you can’t learn all that stuff after you’ve actually experienced how nice the entire thing can be.






  • Good idea. I get a number of CORS errors - but I also get them without the VPN, so I don’t think that’s it.

    The idea that CR doesn’t block me, their content hipster does though - that might have merit. Hm. I have noticed that some sites require me to solve the Cloudflare Captcha. So maybe that happens when requesting the page/stream, and then since I don’t (can’t) solve it, nothing happens?

    Do you have an idea how I could verify this? 😅


  • Alright, this is weird. I ran tcpdump on the server, and checked both physical and wg0 interface. For things like youtube, it’s a constant stream of packets coming in on the physical interface, then immediately being relayed through wg0 - just as it should be.

    But for Crunchyroll, there’s… Nothing. I get an initial burst of packets when opening the site containing the video I want to stream, and then packets just stop coming in once the page itself has fully loaded.