ruffsl

joined 2 years ago
[–] ruffsl@programming.dev 2 points 19 hours ago

Perhaps one could use something like this using Android's Virtualization Framework in the meantime:

 

In this video, I show you how to turn your phone into a mobile typewriter using NixOS, Emacs, Org Roam, and Syncthing — no Google, no distractions.

Not very touch friendly yet, and not sure if anyone has gotten the cellar radios to work with a SIM carrier.

[–] ruffsl@programming.dev 6 points 1 day ago (4 children)

Looks like they introduce the use Traefik with NixOS here:

How does Traefik compare to a reverse proxy like Caddy?

 

Cross-posted from: https://programming.dev/post/33674513

Any general suggestions when getting started with headscale?

 

Sascha Koenig looks to have some quality deep guides around NixOS!

[–] ruffsl@programming.dev 3 points 1 day ago

If there was a simple Debian based distro that I could declaratively manage via a single config file, I think I'd try it. I.e. not using Puppet or Chef that can only bootstrap a system state, but something to truly manage a system's entire life cycle, including removing packages and anything littering the system file tree. But since there isn't, I'm using NixOS instead.

Having a DSL to declare my entire system install, that I can revision control like any other software project, has been convenient for self documenting my setup and changes/fixes over time. Modularizing that config has been great for managing multiple host machines synchronously, so both my laptop and desktop feel the same without extra admin work.

Nixpkgs also bolsters a lot of bleeding edge releases for the majority of FOSS packages I use, which I'm still getting used to. And because of how the packaging works, it's also trivial to config the packages to build from customer sources or with custom features. E.g. enabling load monitoring for Nvidia GPUs from btop that many distros don't ship by default.

[–] ruffsl@programming.dev 2 points 1 day ago (1 children)

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.

[–] ruffsl@programming.dev 2 points 1 day ago

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.

[–] ruffsl@programming.dev 6 points 2 days ago

I'm waiting on support for inserting PDF figures, the most common format my tools export.

[–] ruffsl@programming.dev 6 points 2 days ago

TDIL about nix-ld , this is so cool! Think I'll try this out soon:

 

Secondary source:

Sudo local privilege escalation vulnerabilities fixed (CVE-2025-32462, CVE-2025-32463) - Help Net Security https://www.helpnetsecurity.com/2025/07/01/sudo-local-privilege-escalation-vulnerabilities-fixed-cve-2025-32462-cve-2025-32463/

[–] ruffsl@programming.dev 5 points 1 week ago

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.

[–] ruffsl@programming.dev 6 points 1 month ago

For the faint of heart, such vicarious pain may require theatrical intermission(s).

 

An impressively cursed project, and endearing movie.

cross-posted from: https://lemmy.world/post/30810636

 

An impressively cursed project, and endearing movie.

 

The idea behind the first requirement was that I want to be able to reduce the creation of the logo to a few simple parameters. Additionally, if I can generate the SVG files programmatically, I can programmatically generate the Branding Guide and Media Kit. I’m calling this approach “Branding as Code” (BaC)

That sounds neat, and quite in the spirit of Nix itself! This PR looks to be the work in progress mentioned:

[–] ruffsl@programming.dev 1 points 2 months ago

Yeah, any details published so far have been rather vague. I like the prospect of writing my backend UI logic in a memory safe language, but that falls short of benefiting from doing so end to end.

Supposedly Qt would be in a decent position to use their own static analysis and testing frameworks for hardening such bridge interfaces, but using a memory safe system programming language for everything would be ideal. Are there any Rust based UI projects that are looking at ISO certification to ease integration as a Software of Unknown Pedigree?

[–] ruffsl@programming.dev 2 points 2 months ago

I'm not the original author, even with the YouTube title being as is, but what do you mean? Perhaps relying that the desired services exist as nix packages, or that nix packages have desired defaults or exposes desired config parameters?

There are two other nix media server config projects I can think of, but I think this approach mostly facilitates the install, but not the entire initial config setup, given that a lot of the stack's internal state is captured in databases rather than text config files. So simplifying the backup and restoration of such databases seems the next best thing to persist your stack configs with nix.

[–] ruffsl@programming.dev 3 points 5 months ago

On top of that, it'd be nice for the Bluetooth spec to roll out a higher bitrate version of HFP, as it's common 16 kHz monaural configuration is awful when listening to multimedia while on video calls, like for remote watch parties or just listening to music or playing video games while hanging out on discord. I ended up just buying a USB to TRRS adapter with pass through Power Delivery in order to use my Android device with proper AV quality.

view more: next ›