this post was submitted on 29 Jun 2023
354 points (97.6% liked)

Programmer Humor

19572 readers
1696 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] dukk@programming.dev 13 points 1 year ago (3 children)

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!)

[–] h_a_r_u_k_i@programming.dev 4 points 1 year ago (1 children)

Do you have any troubles running it as your daily OS? Do you use it as your hobby or also for your work?

I know Nix and use it as my package manager, but I'm not sure about the experience with NixOS. So I'm still reluctant to make the switch.

[–] dukk@programming.dev 1 points 1 year ago

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).

[–] Semicolon@programming.dev 3 points 1 year ago

I agree. I use a Mac but use nix to manage all this mess.

[–] dko1905@discuss.tchncs.de 2 points 1 year ago (1 children)

And the vscode direnv extension just makes it all work together.

[–] dukk@programming.dev 4 points 1 year ago

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.