this post was submitted on 07 Apr 2024
488 points (96.7% liked)

linuxmemes

20473 readers
993 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

It's not about the destination, it's about the journey.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 202 points 4 months ago (20 children)

...to get a working config, you need to learn a whole new programming language and figure out the tweaks for each package you want to install, so I'd argue the journey is just as long

[–] [email protected] 98 points 4 months ago (6 children)

NixOS sounds like a way to avoid learning Linux by learning an abstraction.

[–] [email protected] 80 points 4 months ago (1 children)

that's why I only use my computer with raw system calls, shell is bloat

[–] [email protected] 38 points 4 months ago

You guys use an OS? I just push the electrons around my motherboard manually with a little magnet on a toothpick.

[–] [email protected] 19 points 4 months ago (1 children)

Systemd sounds like a way to avoid learning Linux by learning an abstraction.

[–] [email protected] 35 points 4 months ago (3 children)

You keep my init system (and resolver, and timekeeper, and task scheduler, and container manager, and ...) out your f**king mouth!

load more comments (3 replies)
[–] [email protected] 10 points 4 months ago

I'd personally advise against NixOS as a first distribution for that matter. It's a great distribution, but if you want to understand the underlying mechanics, start with something where you interact with them, like Arch or whatever.

[–] [email protected] 7 points 4 months ago (1 children)

Nix is to Linux what Tailwind is to CSS

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 35 points 4 months ago (1 children)

Like everything with Nix, you pay a little more upfront to get a great experience later.

load more comments (1 replies)
[–] [email protected] 10 points 4 months ago (1 children)

That's why you go for GNU Guix instead, since it's the same kind of concept but configured using the Guile Scheme you already know.

(You do already know Scheme, right?)

[–] [email protected] 6 points 4 months ago

the Guile Scheme you already know.

⬅️➡️👊

[–] [email protected] 9 points 4 months ago

It comes with a working config.

Adding applications and rebuilding is generally trivial.

The problem becomes if you want to use flakes or home manager, which you probably should. The config for those is complicated and poorly documented.

I don't know the programming language. I've been running it for about a month now. If you're not doing anything complicated or doing any crazy conditionals or running one config for 27 boxes it's no different than editing a yaml.

It took me about 2 days to get Nvidia working properly with offloading that was my hardest task so far.

[–] [email protected] 9 points 4 months ago (1 children)

That's not true.

You have to get PhD in functional programming first.

[–] [email protected] 22 points 4 months ago* (last edited 4 months ago) (1 children)

Wait, are you saying my degree has real world use?

load more comments (1 replies)
[–] [email protected] 9 points 4 months ago (3 children)

But, at least in theory, you'll only do it once.

load more comments (3 replies)
load more comments (14 replies)
[–] [email protected] 68 points 4 months ago* (last edited 4 months ago) (3 children)

nix being 20 years old and still lacking decent documentation on the language it's what hurts me the most, because the people who do know it works so some amazing things with it

[–] [email protected] 31 points 4 months ago (2 children)

Imagine if NixOS had as good a wiki as Arch. Personally, I wouldn't bother with another distribution again.

[–] [email protected] 14 points 4 months ago (1 children)

They released their wiki apparently on April 1st.

So now we need just to fill it with the missing content. (which there is a lot). And it will be as good as the arch one..... In 20 years.

Or smb made a bad April's fool and actually their wiki is older.

[–] [email protected] 8 points 4 months ago (1 children)

The NixOS wiki's been around for a few years at least, it just doesn't get as much traffic from search engines since NixOS isn't super popular.

[–] [email protected] 10 points 4 months ago (1 children)

I think what they are referring to is the official wiki at wiki.nixos.org (there also is / was an unofficial wiki)

[–] [email protected] 7 points 4 months ago (1 children)

Didn't realize that was unofficial lol

load more comments (1 replies)
[–] [email protected] 9 points 4 months ago (2 children)

Nixos has made me a better software engineer, I hope it takes off

load more comments (2 replies)
[–] [email protected] 14 points 4 months ago (1 children)

nix is 20 years old?!? I thought it was relatively new like maybe 10 years old

[–] [email protected] 13 points 4 months ago (1 children)

the package manager was first released in 2003, so nearly 21!

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 66 points 4 months ago (14 children)

How often do you reinstall your OS? In practice never, I installed Arch around 8 years ago on one computer and that's the install I have today still. I copied it twice to a bigger SSD but that's kind of it.

[–] [email protected] 33 points 4 months ago (2 children)

There is a certain thrill when you nuke your disk to install a distro you never tried before. I actually just nuke one of my laptop last night to try void linux.

[–] [email protected] 12 points 4 months ago (2 children)

I was wondering if Void was still popular. It was kind of feeling like NixOS took all its hype

[–] [email protected] 6 points 4 months ago

It is getting traction lately, the last few years. I myself am a Void user. Currently, I either install NetBSD, Debian or Void, depending on the use scenario.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 21 points 4 months ago

Yeah, I don't think that's the best selling point for desktop use. For me it's having all my configs for all my devices in a single place, checked in git, with bits of config I can easily share between my different devices.

[–] [email protected] 11 points 4 months ago

Hey, man. Some of us just suck at everything but reinstalling.

[–] [email protected] 8 points 4 months ago

You clearly don't have a software hoarding problem

[–] [email protected] 6 points 4 months ago

Easy install is not the only benefit. You also get fearless upgrades. When I upgrade my Nvidia driver and it inevitably exposes bugs in one of my apps, I can always jump back to the previous build version without uninstalling anything.

load more comments (9 replies)
[–] [email protected] 31 points 4 months ago (4 children)

Or, they could learn Ansible and get 80% of the way, and be able to reproduce the result on more than one OS. 🥹

[–] [email protected] 17 points 4 months ago (1 children)

Nix is not something exclusive to NixOS, and people are already using it to make reproducible configs that work on more than one OS.

I'm even using Ansible in what I'm currently building with Nix, because it does one thing well that I need to do: distribute files and run commands on a lot of hosts at once.

load more comments (1 replies)
[–] [email protected] 7 points 4 months ago* (last edited 4 months ago)

That is, until a new Ansible version breaks playbooks again, or an OS is updated in a way that messes with you playbooks, or a package is removed from the playbook but not the installed system...

Ansible is good for ephemeral containers or VMs, but any more permanent system will eventually deviate from the set configuration.

[–] [email protected] 6 points 4 months ago (1 children)

THIS. Or salt. You even learn something generally useful.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 17 points 4 months ago (3 children)

I might just be basic but the only annoying part of reinstalling for me is setting up my browser again.

[–] [email protected] 27 points 4 months ago (3 children)

All hail Firefox Sync!🙌

[–] [email protected] 9 points 4 months ago (10 children)

I've used Firefox for over a decade but still wouldn't trust them to keep all my account info on their servers, Especially not nowadays.

I already started using KeypassXC to locally store my passwords, just importing bookmarks and add-ons I've left to do.

[–] [email protected] 12 points 4 months ago

I think you can selfhost the sync server.

[–] [email protected] 8 points 4 months ago* (last edited 4 months ago)

I only use Sync for extensions, history and bookmarks. I use an alternative pw manager for the same reason.

load more comments (8 replies)
load more comments (2 replies)
[–] [email protected] 12 points 4 months ago

it's all in .mozilla.

load more comments (1 replies)
[–] possiblylinux127 14 points 4 months ago (3 children)

Meanwhile me using Fedora with pretty much everything setup the way I want it out of the box:

[–] [email protected] 8 points 4 months ago* (last edited 4 months ago) (1 children)

Blasphemy! How dare you not tweak your install!

[–] [email protected] 17 points 4 months ago (1 children)

Reminds me of the meme I made for another thread:

(That's accurate to my setup, BTW.)

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 11 points 4 months ago (2 children)

Wow, you have sold me on installing Nix next. I'm a programmer and this sounds dreamy!

load more comments (2 replies)
[–] [email protected] 7 points 4 months ago

Stop threatening me with a good time!

load more comments
view more: next ›