this post was submitted on 20 Oct 2023
39 points (72.9% liked)
Linux
48008 readers
1194 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
Is it possible to learn this power?
Irritate the core maintainers and they will teach you just like Mr Miyagi. /s
Honestly, contributing to nixpkgs isn't that hard. You just have to refer other expression files. This guide is probably one of the most well-written guides I've come across.
Just a word of advice, while cloning NixOS/nixpkgs, set
--depth
to somewhere between 1 to 10. It's a pretty large repository, and you just want to have the last ten git logs at most.Side note, I wish yesterday me had read this before cloning the full 4 gigs lol
As someone who struggled quite a bit to learn Nix, I'd say start small. Install Nix the package manager on any old distro you're familiar with and play with standalone Home Manager. Enable one program here and there, have it manage your shells and CLI apps, set environment variables and write files. It's something you can immediately see the effects of and feels pretty rewarding, so I think it's a great place to start.
I also happened upon this video series a few days ago and it's a great resource, easy to parse and walks you through not only the basics but how to look around and investigate in the REPL when you want to figure something out.
Here is an alternative Piped link(s):
this video series
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I'm open-source; check me out at GitHub.