1094
submitted 2 years ago* (last edited 2 years ago) by darcy@sh.itjust.works to c/linuxmemes@lemmy.world

edit: for anyone curious, the problem was Xorg wasnt loading or something (stuck on systemd 'graphical interface target reached' with no graphical interface). because of a typo in a config file.

you are viewing a single comment's thread
view the rest of the comments
[-] cybersandwich@lemmy.world 2 points 2 years ago

I have nix on a VM where I am tuning a config. It seems like a total pain in the ass to have to get everything set up using their scripting language. Things you just take for granted with a normal distro now require you to know the arcane language of Nix to get running.

I can absolutely see the advantage of it though. I would love nothing more than to take my current popOS install, settings, configs, etc and be able to port that literally anywhere.

[-] dukk@programming.dev 5 points 2 years ago

I mean, I use NixOS daily, and aside from installing the occasional package or setting up some dot files, I don’t really touch my Nix config. NixOS was my first daily driver Linux distro and it has a lot of features that I probably take for granted. Early on, I felt like switching from GNOME to KDE. Two lines. Later on installed Hyprland, no problem, then switched to XMonad(had some Wayland issues) and it was stupidly painless.

Sure, Nix has its “fuck you” moments too, but those are usually never anything truly system-breaking, and can be fixed after an hour or two of Discord support chats. In my eyes, the benefits of Nix definitely outweigh the flaws. Do I wish it was a slightly more sane language? Perhaps. But it’s really when you start using it that you learn to appreciate everything you get. Seriously, I much prefer editing a couple of lines in a config file to pasting commands off the Internet in hopes to achieve what I’m looking for.

NixOS is, imho, the best Linux distro for programmers or anyone with a decent understanding of Linux (obviously not for computer noobs, and that’s totally fine).

Wow first Linux distro, not bad, it's not particularly beginner friendly (you'll have to know how linux works and learn all the Nix related stuff), for me it's the last distro though^^

[-] dukk@programming.dev 2 points 2 years ago* (last edited 2 years ago)

I’d had a decent understanding of Linux going in, tbf. Mostly from hanging out on Discord with tons of Linux users. My Nix system is still quite young (a little over 2 months old), but it’s great.

Getting off the ground was kinda hard though. Luckily, I’ve been using flakes from the very beginning and always setup my dot files with home manager, so I’ve kept the system nice and reproducible.

For those interested, here’s my dot files.

It's not for everyone. I think it's almost a requirement to be a programmer, and to be familiar with functional programming. It also has quite a few (necessary?) quirks/magic (module system, overlays, typing, config overrides etc.).

Actually one of my colleagues just switched from Pop OS! since System76 put all focus into their new desktop environment (while the current distro is barely maintained), which will be available on NixOS too, when it's ready (which is his plan to use, and mine too).

[-] adept@programming.dev 2 points 2 years ago

As long as you arent doing anything to advanced nix is basically only a configuration languages. You probably have to make heavy use of the option search to know where and what to configure

[-] rastilin@kbin.social 1 points 2 years ago

I didn't even know the option search existed. I just asked ChatGPT and it just tells me the option I need.

ChatGPT is not yet really good for Nix, probably because the training set consists of not that much nix yet. So yeah browsing in nixpkgs and either the options or package search is the way to go IMO.

this post was submitted on 24 Sep 2023
1094 points (96.7% liked)

linuxmemes

25622 readers
720 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS