this post was submitted on 18 Oct 2023
64 points (95.7% liked)
Linux
65374 readers
159 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 7 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
yep...same here.
Also, I use VSCode which incorporates all the toolings that I have installed and also frequently use in a terminal. For an immutable system, I'd have to use the Flatpak version of VScode, which cannot access these toolings from the host.
So, no immutability for me now.
Also, on nixos you don't have to do that if you are lazy and can just install dependencies in your global config. Yeah its less optimal, but I'm too lazy to make flake files for each project.
When you say "with the project"... you mean, you load up a typescript project, so you can use npm, etc. but you cannot use golang toolings within that same VScode window, and vice versa?
His config loads npm and stuff when he is in the project directory. So anywhere outside of that directory, its like its not installed.
Lol... as someone who jumps around between toolings all the time, this is anything but "flexible" for me.
I might write an app that uses web tech for the frontend and golang for the backend, and suddenly decide to throw in a flutter version for mobile.
But if it works for you, great.
It's all good, man. I'm not saying that my way is the right way, and your's is wrong, and I love being educated.
What I mean, is, I have all the toolings already there without having to set them up, once I feel I need them.
So the discussion is more about having things set up globally vs. scoped.
NixOS is hard to explain.
I also did not get it at first, but got into a 101 session at cfgmgmtcamp last year and then it clicked.
I would suggest looking at YouTube videos like this one and try to understand what NixOS really is.
It is a pity really that it is not more approachable, the project would have more success if it is somehow easier to explain to others that are new to it :).
3 hrs? thank god I don't use the official YT app 😂.
But you're right. One should at least watch a real-world practical example of its usage.
You can actually use distrobox to set up a regular version of Fedora, set up VSCode there using the official Microsoft RPM and keep all your code in there.
I know, but then again... it's just another layer of maintenance.
Don't get me wrong. Distrobox is a wonderful piece of software. I use Arch inside DB to run some non-crucial stuff that's not available in the fedora repos/copr, like lycheeslicer.
But having a working and reliable code environment is something I'd really not want to babysit.
Yeah I’ve run into the same problems, really annoying when I can’t find a workaround but it’s getting easier as time goes on