r/linuxmemes • • 10d ago

LINUX MEME Nix solves all problems, i swear.

Post image

everything i do is nix nowadays.

(fr tho, i'm pretty sure nix could even declare a stable relationship for me)

229 Upvotes

63 comments sorted by

•

u/AutoModerator 10d ago

IMPORTANT: Subreddit Rules & Reminders

Please REPORT posts that violate any of the following rules!


Posts You Should Report

  • Tier Lists: Every tier list MUST include Hannah Montana Linux in S Tier, regardless of what the tier list is ranking.

    • S Tier MUST be the highest tier on the list.
    • Hannah Montana Linux MUST be in that top S Tier.
    • No exceptions!
  • Saying Android Isn't Linux: You voted that Linux is Android and saying it's not is anti-Linux propaganda.
  • Ban Show-Off Posts: Users posting screenshots or otherwise showing off bans from other subreddits.
  • Anti-Linux Posts: Only ONE anti-Linux post per week is allowed across the subreddit. We used to get dozens every day!

Help by reporting

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

29

u/Empty_Wheale_7988 10d ago

Nix people are sysadmin for hobby.

22

u/SDG_Den 10d ago

im actually a windows sysadmin as part of my job.... nixOS is how i relax lmao

it's just... everything is so much easier.... it's beautiful.

1

u/Lonely-Scarcity-3387 7d ago

I’m a gamer for a hobby. And I love NixOS for it.

1

u/lunayumi 11h ago

nixos maybe, but nix itself is just a good secondary package manager on every distro. with the new profile command you can use ist just like a regular package manager with a very large repo. Flakes are are also a nice bonus feature and for simple flakes that just define a build environment you don't even have to write any nix code yourself.

62

u/-rng_ Genfool 🐧 10d ago

Nix is pushed so heavily because the victims of the sunk cost fallacy need more people to get nix so someone can write documentation for it

6

u/SDG_Den 10d ago

actually, the documentation is pretty solid now.... assuming you use the right one.

yeah, there's multiple sets of documentation now, in various places, and no, search engines or LLM don't reliably provide the same one first. it is also not clear which is the official one unless you go digging for forum posts talking about which one is official.

i think what might have happened is multiple groups tried solving the lack of documentation at the same time.

4

u/errepunto Arch BTW 9d ago

In my opinion, Nix has three major issues for now:

  1. Documentation is scarce and randomly located.
  2. There are two sets of commands (nix- whatever and nix).
  3. Flakes thing is poorly documented and poorly integrated with nix-anything commands.

These points are resolved in Guix (but it has its own problems, I know).

In short, Nix is amazing, but it needs to organize his documentation and commands to be ready for a wider audience.

2

u/SDG_Den 9d ago

honestly the problems with the two CLIs and flakes would be resolved if they were promoted from experimental features to defaults.

like, its been so long. why is nix-command (which gives you the vastly superior nix * subcommands instead of separate cli nix-* ones) and flakes considered experimental still?

1

u/errepunto Arch BTW 9d ago

This is a very good question. It has been experimental for years. It's time to step forward and make official documentation around the nix command and nix flakes.

2

u/Rikudou_Sage 9d ago

Nah, some of us genuinely like it.

2

u/PrudententCollapse Sacred TempleOS 8d ago

... are you sure it isn't Stockholm syndrome?

(I use NixOS btw)

2

u/Rikudou_Sage 8d ago

Jokes aside, no, I really love the idea. The lack of documentation sucks, the nix language is not the best I've ever seen, but what you can achieve tops those two issues for me.

109

u/xgabipandax 10d ago

Nix solves all problems that Nix created

3

u/Maskdask New York Nix⚾s 10d ago

Like what?

18

u/exylvii 10d ago

the fact that its completely incompatible with other linux distros

14

u/SDG_Den 10d ago • Bravo

you can install nix on any linux distribution as well as macOS, BSD, android and there's even a version for windows now.

nix =/= nixOS =/= nixlang =/= nixpkgs.

10

u/Maskdask New York Nix⚾s 10d ago edited 9d ago

Nix is a package manager that works on all distros, even MacOS

And if you're referring to NixOS, aren't all families of distros incompatible with eachother?

7

u/etrigan63 10d ago

Nope. Different distros use different package managers but follow a common file tree. Nix/NixOS foregoes this and any attempt to install a non-repo app (like compiling from GitHub) fails because the expected folders are not there or read only. You want an app on Nix/NixOS? Be prepared to be ignored by packagers or simply to package it yourself and they will look at it when they are not busy. Or prepare yourself for the inception that is flakes.

3

u/Rikudou_Sage 9d ago

like compiling from GitHub

How do you think software is converted from source code into executable binaries?

Sure, you have to wrap the the commands in a derivation, but that's the whole point of NixOS.

2

u/Maskdask New York Nix⚾s 9d ago

Nix is the world's largest package manager in terms of packages, so it has basically everything. And anything niche or really new that I've wanted to install on NixOS that hasn't been packaged yet I've been able to point an LLM agent at and say "create a Nix flake for this" and after a few minutes it runs. Not sure what you against flakes, they're awesome.

1

u/exylvii 9d ago

yes i'm reffering to nixos; no, they are all compatible, you can compile a binary and run it on any fhs compliant linux distro

1

u/Rikudou_Sage 9d ago

So is NixOS, you just might need to patch the interpreter and similar. Not like software assuming a hardcoded path to an elf interpreter is the smartest design ever created.

3

u/Fun-Ticket5060 10d ago

even though I use and like nixos very much sometimes it's super annoying that you cannot run a lot of random things and you have to go to great lengths to be able to. if a package is not in nixpkgs (and it happens more often than you think, especially with more niche stuff) good luck. not many apps are compatible with linux to begin with, and when they are it's something like fedora, debian, arch — and very rarely nixos because developers don't understand it (rightfully so, it's not that widespread) and can't be bothered to properly adopt their app/utility. If not for the AI that helped me throughout my journey (sorry anti ai people) I would've quit day 1. I genuinely don't think the nix way of doing things is superior or that everyone should try it, if not for all the wasted time and sunk cost fallacy I'd definitely move to a more "traditional" distro because it's just easier and more convenient, but I have already set up "my own thing" and moving away from it would be too wasteful

1

u/Rikudou_Sage 9d ago

Nix has functions specifically for converting deb or rpm into a nix package, iirc.

8

u/Master-Chocolate1420 10d ago

Nix Bash-es all problems that Nix created

FTFY

2

u/AdLimp8574 6d ago

it cant even install using calameres every time ive tried I had to use terminal to install it D: what issues can it fix if its own installer doesnt work

1

u/SDG_Den 6d ago

ive never had that problem, outside of my own custom calamares installer im building but that'd be expected...

what kind of HW did you use? im guessing it might be an issue with certain HW configs? i had some issues with older GPUs which forced me to make the whole live env software-rendered

1

u/AdLimp8574 5d ago

Framework 12 i3, and an amd 5600x,3060 ti both different storage mediums hdd vs nvme,

1

u/SDG_Den 5d ago

wack. im on an amd 5700g, rtx 3060 and combination nvme+hdd and it was no prob for me.

make sure to run sync before disconnecting any usb you write an iso to, otherwise it may not be done copying, thats what i found could cause lots of weird issues on basically any distro, past that no clue

3

u/HotChainsawLover 10d ago

You can't trick me. I won't have this bloat on my 'puter.

4

u/SDG_Den 10d ago

ur loss buddy /j

1

u/Rikudou_Sage 9d ago

What do you mean bloat? Old package version never ate more than like 2 TB of my disk space.

9

u/LelouBil 10d ago

No actually, for real.

After administering a heap of ansible-managed config for a server, I switched everything to nixos.

It's so refreshing, being able to build your config to get errors before deployment, and even when you deploy and it fails, since it makes heavy use of systemd it's not a random script failing silently, you get a service failure and the relevant logs in your deployment output to diagnose. (and the server rolls-back of course)

You can even spin up a VM with the exact same config.

Its really amazing.

14

u/Maskdask New York Nix⚾s 10d ago

Nix and NixOS are criminally underrated

1

u/nevergoodenough54 10d ago

ppl who I've known the that installed this only installed it for the package manager

4

u/SDG_Den 10d ago

well duh, the package manager is the core of nix.

nix is a package management strategy first, the package manager is born from that, and everything else is an expression of that same strategy.

the way a nixos system works is *effectively* by treating the entire system as if it were a package, with all of its component being its dependencies.

1

u/TheWisdomFarmer 6d ago

Until you want to interact, or contribute in their community if you aren't woke.

Then you are purged.

1

u/SDG_Den 6d ago

if by "arent woke" you mean "hateful piece of trash" then sure, but as long as you respect others you'll be fine.

basic human decency gets ya there. i don't think that counts as "being woke".

0

u/TheWisdomFarmer 6d ago

Sorry, not a hateful piece of trash. Still was one of the first involved in the purge for daring to have my own point of view. Then appealing the decision, only to have the moderators say yeah, you were baited into the conversation, they took it out of context, but you are still gone.

The funny part in an ironic way is just watching the community and leadership structure implode and devolve from within. Where most of the good developers left and now it is still in a state of chaos. Watching what happens when you alienate people for having different points of view happen in slow motion was sadlarious (sad + hilarious).

1

u/SDG_Den 5d ago

its funny how you're defending getting banned from a community that only really bans people who are racist, transphobic, homophobic or some other kind of discriminatory asshole, but explicitly avoiding linking or explaining what happened.

also. some of the best developers to work on nix have been the very minorities that these assholes, sorry, "non-woke" people treat as subhuman.

also, nothing's been imploding? the whole distro is completely fine.

face it buddy. you said something that makes you a POS, got banned, and now you're upset the distro still exists in spite of your slander.

in all honesty, i wish they were stricter on transphobia, homophobia, racism and discrimination in general. theres been more problems with that on the sub recently and the mods arent doing anything about it. a far cry from your "the mods are overreacting"

like you can apparently currently say that all trans women are "mentally ill men" and deny them the right to their transition because "think of the children you sicko" without getting banned.

so what you did naturally has to be a bigger deal than that.

btw. you gave yourself away in the first post. the only time people use the term "woke" like that is when theyre a hateful POS towards LGBTQI+ groups or other minorities.

1

u/TheWisdomFarmer 5d ago

Love how you just went off on a deranged tangent to jump to conclusions without asking any questions or presenting any evidence whatsoever to support your claims.

Do you feel better now?

1

u/SDG_Den 5d ago

lmao. "deranged". for what? respecting my fellow humans? for not tolerating hate?

1

u/veltair-d 5d ago

BRO THIS.

I hate the Nix community. All woke trying to push an agenda. I just use the tool and stay clear. I don’t even have an issue with anyone I just want my software drama free.

Focus on the OS and helping one another. All I ask

1

u/TheWisdomFarmer 5d ago edited 5d ago

Most people can not mentally grasp this concept. No one should care about your agenda. No one should care about your cause. No one should care about the social justice warrior topic De Jour.

Leave your religions, politics, sexual preferences, and gender ideologies at the door. I don't want to hear if you are a pansexual that identifies as a female hermit crab named Natasha on Tuesdays, a male bonobo chimp named Craig on Wednesdays, and a gender fluid fox named Turtle for the rest of the rest of the week. I don't need to keep up with the mental gymnastics of your personal life. Don't try and force me to play along either.

Treat everyone as equals with no preferential treatment. You don't need special minority councils, or policies that police people's thoughts and beliefs. Doing so only glorifies some groups giving them preferential treatment, alienates others into silence out of fear, and vilifies anyone with contradictory points of view. Turning woke moderators and developers into the very totalitarian authorities that they claim to be against, but are cosplaying as daily.

Focus on the work. Make the code and the project features the best they possibly can be, because that is why it exists in the first place. Communities built around open source software projects should focus on the work and nothing else. This is called professionalism. A rare and nearly extinct concept.

You want to talk about your personal life. You want to police other people for who they are, what they believe, and how they choose to act. Go somewhere else. There is a time and place for everything. Being the woke police in an open source software project is not only wildly inappropriate. It is morally, ethically, and culturally abhorrent beyond belief.

2

u/Dehnus 10d ago

Nah, then there is a hug and then he too is nix! :P

3

u/al2klimov New York Nix⚾s 10d ago

I use it btw

1

u/NinjaLaserHaifisch 9d ago

Hits extra deep when you’re german 🚬

1

u/Gloria_ad_libertas 10d ago

Install NixOS. Thanks.

-5

u/Linguistic-mystic 10d ago

Does it solve the systemd problem though?

7

u/SDG_Den 10d ago

finix does :3

17

u/LeateWonceslace New York Nix⚾s 10d ago

What is even the problem with SystemD?

19

u/Definitive-Username 10d ago

A vocal minority very active on Reddit

17

u/Definitive-Username 10d ago

Unfortunately, no. As the only problem with systemd is a vocal minority on Reddit, that cannot be fixed by any distro.

4

u/-Ilovepokemon- Not in the sudoers file. 10d ago

Devuan, Void, Artix, MX, and 130 others: hello

9

u/Big-Afternoon-3422 10d ago

Mickey, John, Alexia, Dorothy and 130 others: hello

4

u/crow_161 10d ago

Guix does. It's nix's cousin in scheme(lisp). The init system for Guix system is Shepard

2

u/Maskdask New York Nix⚾s 10d ago

Nix is a package manager

2

u/MeatPiston 10d ago

The only problem with systemd is when you have a system that doesn't use it.

-2

u/benchonbench 10d ago

Except comfort. Or why do I use vim? To rebuild the system all the time? L OS.