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.
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.
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.
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.
Found the other NixOS user. ;)
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.
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.