How to add machines where you cannot install the client to the Tailscale VPN?

Hi all! I am setting up my first homelab, where I installed Headscale. I have some machines (like a WD NAS, a printer...) where I cannot install the Tailscale client. Can I still connect these machines to the Tailnet? Thanks!

reddit.com
u/alessandrobertulli — 3 days ago
▲ 13 r/dotfiles+2 crossposts

What to use to handle both cross-OS and user and system wide files (e.g. /etc)?

Hi everyone! I'm using GNU Stow right now but I want to switch to something more powerful. I have a personal PC with Ubuntu, a work PC with Windows + WSL Ubuntu + MSYS2. Moreover, a few configuration files are system wide (e.g. /etc/tlp.d/01-my-personal-power-config). What would you recommend to use? In summary, I need:

  • To have a templating option (a-la Chezmoi), to have different per-OS configuration
  • To differentiate the target path of a file, based on the system (e.g., the Emacs init file on linux is at ~/.emacs.d/init.el, but on Windows it's on %USERPROFILE%/AppData/Roaming/.emacs.d/init.el)
  • To handle also system wide files (/etc/**.config and the like)

Thanks!

reddit.com
u/alessandrobertulli — 1 month ago

In your experience, what produces less CO2? An "recycled" homelab or a "green" server on Hetzner?

Hi, I'm planning to host a few services (Tailscale mesh VPN, file sharing, media streaming and password vault), aside from the VPN the server won't work 24/7, it will spend quite a bit of time idle.

Environment sustainability is really important for me, so I'm curious about which option produces less CO2. At home I have an old Raspberry Pi 3B+, an old-ish SSD and a few second hand HDDs. Or, I know that Hetzner uses often recycled servers, and powers them with 100% renewable energy (but they don't neccesarily produce 0% CO2), and they are based in Germany/Finland (I live in Italy). The cheaper option is probably the homelab, but what about in terms of CO2? Thanks!

reddit.com
u/alessandrobertulli — 2 months ago

In your experience, what produces less CO2? An "recycled" homelab or a "green" server on Hetzner?

Hi, I'm planning to host a few services (Tailscale mesh VPN, file sharing, media streaming and password vault), aside from the VPN the server won't work 24/7, it will spend quite a bit of time idle.

Environment sustainability is really important for me, so I'm curious about which option produces less CO2. At home I have an old Raspberry Pi 3B+, an old-ish SSD and a few second hand HDDs. Or, I know that Hetzner uses often recycled servers, and powers them with 100% renewable energy (but they don't neccesarily produce 0% CO2), and they are based in Germany/Finland (I live in Italy). The cheaper option is probably the homelab, but what about in terms of CO2? Thanks!

reddit.com
u/alessandrobertulli — 2 months ago
▲ 2 r/EcoFriendly+3 crossposts

In your experience, what produces less CO2? An "recycled" homelab or a "green" server on Hetzner?

Hi, I'm planning to host a few services (Tailscale mesh VPN, file sharing, media streaming and password vault), aside from the VPN the server won't work 24/7, it will spend quite a bit of time idle.

Environment sustainability is really important for me, so I'm curious about which option produces less CO2. At home I have an old Raspberry Pi 3B+, an old-ish SSD and a few second hand HDDs. Or, I know that Hetzner uses often recycled servers, and powers them with 100% renewable energy (but they don't neccesarily produce 0% CO2), and they are based in Germany/Finland (I live in Italy). The cheaper option is probably the homelab, but what about in terms of CO2? Thanks!

reddit.com
u/alessandrobertulli — 2 months ago
▲ 8 r/Nix+1 crossposts

ELI5: Why do we use fixed point recursion? How would you explain it what it is?

Hi all, I have studied Kleene fixed point theorem during my CompEng bachelor but it passed a bit of time, so I need a refresh. I read that we use a fixed point recursion in Nix for instance to import nixpkgs, and (perhaps?) to use overlay and overrides. I tried reading this beautiful post by layus but it only partially "clicked". How would you explain fixed point recursion, and why it is important in Nix, especially in the nixpkgs case? Thanks!

reddit.com
u/alessandrobertulli — 2 months ago

ELI5: How are OCI container layers different from Nix?

Hi, I'm learning about immutable systems and naturally I came across Nix/NixOS and container/bootc. A thing I really like about Nix is that every package is cached, so that if ten "user" derivations all use the same dependency, this is shared (exactly like in a normal package manager), even if it is still immutable and "embedded" into each derivation. I half heard a similar thing happens with OCI container layers. Could you please explain the difference better? Are they shared among different images? How are they identified? How is the system sure they could be shared? Are they cached? Where? Thanks!

reddit.com
u/alessandrobertulli — 2 months ago
▲ 3 r/NixOS

ELI5: How do container layers differ from Nix package system?

Hi, I'm learning about immutable systems and naturally I came across Nix/NixOS and container/bootc. A thing I really like about Nix is that every package is cached, so that if ten "user" derivations all use the same dependency, this is shared (exactly like in a normal package manager), even if it is still immutable and "embedded" into each derivation. I half heard a similar thing happens with OCI container layers. Could you please explain the difference better? Are they shared among different images? How are they identified? How is the system sure they could be shared? Are they cached? Where? Thanks!

reddit.com
u/alessandrobertulli — 2 months ago
▲ 2 r/NuPhy+1 crossposts

Accidentally bricked my QMK firmware and now is taking ages to reset, is it normal?

I thought the keyboard was not being recognized during the writing of the firmware, so I gave Ctrl+C. Recently purchased Air96v2 became an expensive piece of furniture. Managed to reset with the button under caps lock, but now writing the new firmware is taking ages. Is this normal?

reddit.com
u/alessandrobertulli — 3 months ago