this post was submitted on 31 Jul 2023
142 points (97.3% liked)
Linux
48052 readers
671 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I like the idea of NixOS in theory, but in practice I just don't like the extra level of abstraction when configuring things. I like to know exactly what is happening. I also like to be able to open a man page for a program and just follow what's written in there, which often times I can't do on NixOS because they have their own way of doing things.
In general it just gives me a hacky and "bolted on" vibe.
What I'm more interested in is the package manager, which is use on a non NixOS distro (just "nix shell" alone is so awesome). I use flatpaks and they work well, but I vastly prefer Nix approach, it's so well thought out and I would love if Nix (or something similar) would establish itself as the universal and distro independent package manager. But even here it's lacking, after years and years you still can't use OpenGL or Vulkan in graphical applications without a third party workaround which is crazy to me, how is that not a number one priority to fix?
Nix has a great potential as a replacement for flatpak actually as it is source based. You can guarantee what you are installing is based on which source code by compiling yourself.
Flatpak and the others are packaged by upstream. A developer can put malware in a package and upload it to flathub. That's why it needs permission management, sandboxing etc to minimize the risk.
I like the sandboxing of flatpak not just because of malware but also for proprietary software. But I guess the same could be achieved with Nix + Bubblewrap.
Also the flatpak runtimes are insane to me, atleast the big platforms like "org.gnome.platform". That thing weighs a nice 800mb and is pretty much a full linux install. And while in theory these should be share between programs, you can end up unlucky and have five massive runtimes for 5 different programs (like when i was trying some flatpak programs the other day). That's a nice 4GB of overhead and programs STILL include their own libraries if they are missing in the runtimes...might as well go the windows approach.
Haha yeah. Flatpak is pretty much like having 2 linux systems on your machine at once. And of course it can be worse sometimes.