this post was submitted on 02 Nov 2024
69 points (96.0% liked)

Linux

48287 readers
657 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

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
[–] thejevans@lemmy.ml 24 points 2 weeks ago (4 children)

You can't have your entire system configuration in a repository of plain text files, which has lots of advantages, but it's not worth caring about unless you feel excited to get into it.

[–] oxomoxo@lemmy.world 2 points 2 weeks ago (2 children)

Why not? Isn’t this the whole concept of Bash Script, Ansible, Terraform, etc… I mean it can be as simple as a git repo that pulls down an install script then syncs your dot files. What am I missing? If you’re referencing Nix, you can also have that on Mint.

[–] thejevans@lemmy.ml 4 points 2 weeks ago (1 children)

Yeah, I'm talking about not just Nix, but NixOS. Nix (the package manager) can do a lot, but NixOS + disko + home-manager can literally be all of the configuration for your machine from drive partitioning through to dot files. Throw in nixos-anywhere and impermanence and you can have an insane amount of control over all of your computers.

Ansible, Terraform, Chef, etc. do have some overlap, but the main difference is that those tools iterate through the system modifying it piece by piece and NixOS is declarative.

If something fails in some of my bigger Ansible playbooks, it could mean 30 minutes of just running through all the steps again. I could probably break it into sections, but then I have to worry about making sure they all get run when things get updated. In my NixOS install, it's way faster, I can roll back to a previous state, and troubleshooting is way easier in my opinion.

[–] oxomoxo@lemmy.world 1 points 2 weeks ago

Ah alright. My point is OP is asking what can be done in other distros that can’t be done in Mint and your answer was have the entire configuration be in plain text. I completely agree that if you want that kind of reproducibility NixOS is the most refined, well established, and best way to handle this. However to answer OP I would say this is possible in Mint but just much more painful.

load more comments (1 replies)