I'm still using an old UC Gateway, doubt my homelab will outgrow it.
I'd love to find an example NixOS config to simply reproduce and import Clear Linux's kernel config. There are a few already for replicating CachyOS's kernel variants:
Although I'm not sure that those approachs still use clang instead of gcc?
I hope this rust library can make its way back into Moonlight and Sunshine projects.
One thing I appreciate about NixOS is the ability to use overlays and override package sources. For example, overlays can be used to selectively install unstable and stable packages alongside each other:
While there may be caveats, this approach has been working for me just fine, as I can install VSCode from unstable to get the most recent monthly releases as they roll out, but then pin the rest of my desktop environment to stable to limit anything else shifting underneath me unexpectedly.
Another related video from a nice channel I posted here previously:
- How Phone Chargers Copied Car Chargers - USB PD PPS
Another video on PPS from a charging device perspective:
- USB-C Just got Even Better! (PPS)
I'll say the newer up and coming standard AVS (Adjusted Voltage Supply) for support with Extended Power Range looks promising, if not a little concerning in regards to cable quality hazards.
Looks like they introduce the use Traefik with NixOS here:
How does Traefik compare to a reverse proxy like Caddy?
Yeah, the centralization of public Internet infrastructure around Cloud flare has been concerning, not only as a single point of failure but also in terms of consolidation of trust.
As a prior student workout a public IP deep behind several NATs, with little funds for self hosting hobbies, these kinds of tunnel services were a handy gateway in getting started.
Although, I hope ISP adoption of IPv6 or cheaper bandwidth quotas for VPS providers help compete on this front for self hosting networking.
Too bad you have to rely on cloudflare to then manage your domain to utilize this feature, like if it's just a demo for a one off project.
TDIL about nix-ld , this is so cool! Think I'll try this out soon:
I've been straddling between NixOS and a Debian derivative for a while recently. Using nix, I really enjoy managing my system using declarative code, like I would for any other software infrastructure.
Although, for work, I still resort back to Debian or Ubuntu when it comes to collaborating with existing FOSS communities around robotic software or medical imaging, as those respective domains are heavily ingrained/invested into the Debian release and package distribution.
So it's been a challenge to migrate anything other than my personal computing to NixOS. However I do appreciate the easy access to latest version releases of packages, kernels, and drivers. Being able to patch and document the idiosyncrasies of my hardware using declarative configs and revision control has been so helpful and solving a bug once and never forgetting how to reproduce the fix later on.
Another benefit is being able to explore public repositories for examples of how other users may be installing the same types of modules or software features I'm looking to setup, or solve a similar issue. It's one thing to read the stack overflow answer about how to edit an arcane etc config for an anonymous package version, but it's another to be able to read the commit history of hundreds of other nix users and PRs from nixpkgs maintainers.
My flake config is still rather simplistic, and synchronizing two hosts between two branches. I did appreciate the reference repo linked by the author as an example for modular host and user config.
https://github.com/jnsgruk/nixos-config
Any suggested resources or templates on that front? I.e. structuring and modularizing NicOS flake configs for multiple hosts for overlapping and non overlapping use cases? For example, I've just gotten into how to overlay nixpkgs PRs and explore dev shells.