this post was submitted on 03 Jan 2025
144 points (99.3% liked)

Selfhosted

40943 readers
433 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Personally will be trying to transform my server which is currently in a fractal R5 case, into a small-ish Homelab rack, combined with all my network equipment. Will require complete relocation of all network equipment in the house as well as cables so it will be a bit of a project. Also on the lookout for a good quality rack so let me know if you have any recs. Still unsure if u want to do full width rack or mini. Part of me really want the UDM Pro from Unifi..

What are your goals and thing you want to accomplish during 2025?

you are viewing a single comment's thread
view the rest of the comments
[–] mat@linux.community 29 points 5 days ago (10 children)

I want to move my whole server to NixOS. It's gotten to the point where I have no idea where all the Ubuntu config files went, and handling half of it via Docker vs baremetal. I hope this will allow me to set up proper backups as well, and maybe get better at Nix! I started a few days ago using the VM feature, but it's tricky to work on for now, perhaps I haven't found the right workflow.

[–] xamino@feddit.org 25 points 5 days ago* (last edited 5 days ago) (2 children)

I went this route from the start and love it. In case you need some resources:

Hope this helps a bit. I found the effort to be very worth it, but took me almost half a year to get comfortable with it.

[–] Kushan@lemmy.world 7 points 5 days ago

Another vote for restic, best backup software I've ever used.

[–] mat@linux.community 3 points 5 days ago (1 children)

Thank you! It definitely does, I will be using that Restic article for sure! I actually use NixOS on my main laptop, which I found via Vimjoyer's videos. It's great, though I wish documentation for more advanced usage was more readily available. I started making the server, currently my biggest roadblock is testing the infrastructure without going live (I made the flake generate a VM for now but it takes a long time to build it every edit and I can't even get ssh working) and figuring out how I'll eventually install it with minimal downtime.

[–] Byter@lemmy.one 4 points 5 days ago* (last edited 5 days ago)

On the topic of build times, it took me too long to learn that nixos-rebuild supports remote build workers and targets.

For example, if I am editing on my laptop, want to build on my desktop, and apply the build to my file server, then I'd run...

me@laptop$ nixos-rebuild test \
--flake ~/wherever-it-lives \
--build-host desktop \
--target-host file-server \
--use-remote-sudo

The host names should match the name of the nixosConfiguration output from your flake. If they don't I think you can specify like, --target-host .#some-machine

Remote sudo avoids having to SSH as root.

Bonus tip: Having Tailscale on every machine makes this work reliably from anywhere, network speed as the limit.

load more comments (7 replies)