this post was submitted on 19 Jul 2025
100 points (99.0% liked)

Selfhosted

60281 readers
596 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hey y'all, I know getting a setup that feels "right" can be a process. We all have different goals, tech preferences, etc.

I wanted to a share my blog post walking through how I finally built a setup that I can just be happy with and use. It goes over my goals, requirements, tech choices, layout, and some specific problems I've resolved.

Where I've landed of course isn't where everyone else will, but I hope it can serve as a good reference. I’ve really benefited from the content and software folks have freely shared, and hope I can continue that and help others.

Happy to answer questions!

you are viewing a single comment's thread
view the rest of the comments
[–] SidewaysHighways@lemmy.world 7 points 11 months ago (13 children)

this is great! i was intrigued by nix and nixOS early into my linux venture and this has probably pushed me to start moving my stuff from Debian, though i am kinda addicted to proxmox.

but the way you're doing truenas is how I'm running my stuff too. way more planning on your end really cleans it all up!

[–] smiletolerantly@awful.systems 8 points 11 months ago (1 children)

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.

[–] mirdaki@lemmy.ml 4 points 11 months ago (1 children)

Oh that provision command sounds interesting! Did it take a bit of tinkering to get right?

[–] smiletolerantly@awful.systems 5 points 11 months ago (1 children)

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.

[–] mirdaki@lemmy.ml 4 points 11 months ago (1 children)

Nice! No dark magic being involved is always a good thing haha

[–] smiletolerantly@awful.systems 4 points 11 months ago

Btw, nice read OP. Always great to see more Nix "in the wild".

load more comments (11 replies)