Avatar

dukk

dukk@programming.dev
Joined
9 posts • 336 comments
Direct message

Thank god for NixOS. (My daily on my laptop, seriously flakes + nix-direnv is godsend for productivity. Reliable development environments and I don’t have to lift a finger!)

permalink
report
reply

I personally use Neovim (it’s not nearly as much work as people make it out to be), so it’s all integrated within my terminal.

permalink
report
parent
reply

I just jumped in headfirst. I love it. It’s really just Nix, but with options to configure your whole system to your liking.

Stability’s been rock-solid and I haven’t yet encountered anything truly headache-inducing.

Here’s some starter advice:

  • Try to start with flakes. Nix channels are known for being…unreliable at times.
  • Start small, slowly extend. Many people’s Nix configs are often insanely abstracted and modularized. Personally, I started my flake config by installing KDE + Nix, and then linking the configuration.nix to the flake. (Remember, flakes just package the config, they’re not responsible for configuring the system).

My Nix config is relatively basic (check it out here, so feel free to look around trying to understand it. I’d also suggest using Home Manger if you aren’t already.

The NixOS forums are great for getting help. I’ll also point you towards the Catppuccin Discord server, the NixOS thread there is filled with many helpful people who helped me get started. (If you decide to swallow the Nix pill, feel free to join and ping me(my username’s Dukk); I’ll add you to the Nix thread).

permalink
report
parent
reply

Thanks, this is a lot like what I was looking for. Will try it out.

permalink
report
parent
reply

Is there any way to track values without a struct? Or in my specific case, I’m using a struct, but most of the values are in an Option<String>.

permalink
report
parent
reply

The Fediverse is an open protocol. Worst case scenario, everyone just defederates from them.

Then again, nothing good can really come from Facebook on the Fediverse.

permalink
report
parent
reply

Yeah, personally I simply joined a small, more niche instance for my more niche interests, and then just browse through bigger instances when I want to see the general discussions.

permalink
report
parent
reply

I mean, technically, Options are monads, so…

permalink
report
reply

Rust generally means more stable software. Anyone who’s developed a Rust app knows how uncompromising the borrow checker is.

permalink
report
parent
reply

I think all of these can be recompiled at runtime.

Askama seems to be a popular and mature option here. Yew is also pretty popular here, uses a VDOM and provides a powerful front end (great for SPAs) I’m most likely going to go with tide-jsx, it’s like HTML but it supports Rust expressions thru a macro, which is exactly what I need. Liquid is also pretty secure, so that’s an option.

Askama and Yew are pretty mature, so they probably have reasonable security. I would check their docs, however.

permalink
report
parent
reply