this post was submitted on 06 Feb 2024
142 points (96.7% liked)
Linux
48240 readers
617 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 really haven't given nix the language the time it deserves, but I really want nixosr configuration bindings in Python. Yes it makes me want to vomit but I do kind of live and breathe Python these days. Maybe a python nix generator would be more appropriate, either way it would totally destroy the benefits of using nix
I get where you're coming from, but that sounds like a horrible idea
Yep 😹 it would be terrible
Lol I appreciate your self awareness! That sounds just like the kind of questionable idea that'd be great for a joke GitHub repo, if nothing else.
Lol I appreciate your self awareness! That sounds just like the kind of questionable idea that'd be great for a joke GitHub repo, if nothing else.
Nix really isn't very difficult, the way you'd use it for a system configuration it's more like a config file than programming
It's mostly stuff like programs.firefox = { enable = true; };
I know, I need to spend some time getting familiar with nixpkgs and nixos :P the mix between config file and programming gets me because I expect a config file to have just one way of doing things.
Afaik generally there is only one way of doing most things
There are a few choices like whether you just want the package installed and left alone or installed and configured with nix
(Adding something to the systemPackages list vs using programs.firefox.enable for example)
You only really get into the really program-ey bits when you start using more advanced features, which you absolutely don't need to to achieve the same things as a normal package manager
I'm by no means an expert but feel free to ask if you need any explanations/help