this post was submitted on 19 Jun 2025
12 points (92.9% liked)

Nix / NixOS

2310 readers
1 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

I forgot that I shared this a week ago.
It's licensed under AGPL-3.0.

One of my thoughts is to add pictures of how the system looks with this config.

My current questions are:

  • What do you think could be improved?
  • What would you like to see?
top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 week ago (1 children)

I'll keep my suggestions small:

  • Use a flake, absolute life-saver
  • Maybe split it into multiples files? Since your config is one file and 600 lines long
  • Check out home-manager. Very good for configuring your home directory
[–] recursive_recursion 5 points 1 week ago* (last edited 1 week ago) (1 children)

Flakes would be cool if they were easier to use/understand. Not sure if the situation has changed but when I tried to use flakes around 2-3 years ago I had a significant uphill battle in finding good documentation that I could parse, so much so that I gave up. Even getting this config to work I had to scour through their default docs, several hundreds of fellow nix user's repos, several different blog posts, and numerous youtube vids. (some apps still don't work, maybe because of Electron? hard to tell)

My previous background was manual Archlinux installs and I felt like I hit a brick wall with NixOS back then, maybe it's better? I'm still adverse but willing to try if someone could point me in a good direction to understand flakes.

Maybe split it into multiples files? Since your config is one file and 600 lines long

This I can definitely tackle👍

Check out home-manager. Very good for configuring your home directory

I know about Home Manger but I decided not to use it as I remember some incompatibilities with how I initially planned things out, I might have more information on this once I check my documentation.

Either way thanks for your feedback!🫡

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

imo flakes are as hard to get into as the 'normal way' if youre starting from scratch. Switching over is easier, you'll need to change quite a bit, but its a lot of boilerplate mostly. All in all I agree with the first comment tho, its worth it.

Other than that, looks good if its all working for you!