Is installing a package as simple as $ nix install vscode ? And would it “just work”?
You fool. You absolute buffoon. You're doing it wrong. That's the wrong command, and even if it was the right command, this method could cause issues down the road. It goes against the declarative philosophy of nix. You're supposed to refer to packages by their attribute, rather than name. If you launch the installed app that way, it won't have any hardware accererated graphics becuase hardware accelerated graphics are impure, don't you know this?
You need to read the nonexistent documentation to find all of this out, and then select a declarative solution, like home manager or nix-shell or nix develop, to install software, and nixgl to get hardware accelerated graphics for nix packages on non nix systems.
(/s (ish) over)
Yeah. Nix has some issues. If you just want more packages available, I would recommend distrobox.
It's a very powerful tool, and I use nix to manage all of my development environments, but it has some severe limitations that only have hacky workarounds. I could not get hardware accelerated nix packages to have a working dekstop entry. So instead, I have to type nixGLIntel gzdoom
in my terminal when I want to play doom.
In addition to that, the documentation is very poor.
The other comments in this thread elaborate on these, and a few other issues.
Yeah. this was in high school, in my math class, and we were playing a math game.
The way it worked, was that every table was a team, and each team had a "castle" drawn up onto the whiteboard. A random spinner was used to determine a team, who would then solve a problem the teacher assigned. If you successfully solved the problem, you could draw an X on another teams castle. 3 X's mean that you are out.
My team was out. But, since this was a class, we could still solve problems, and still draw X's. Our table got selected to solve a problem, and I did successfully. I looked at the board, and realized that only two teams had a single X, every other team had either two or three. In other words, I could choose who won the game, even though I could not win.
So, I started trying to get bids. I tried to get real money, but someone tried to scam me with some "draw the X first" nonsense. But, the other team offered to pay me four of the school's fake money, and I accepted that and allowed them to win.
I may not have won the game, but I certainly felt victorious that day.