this post was submitted on 11 Apr 2024
13 points (93.3% liked)
NixOS
992 readers
1 users here now
NixOS is a Linux distribution built on top of the Nix package manager. Its declarative configuration allows reliable system upgrades via several official channels of stability and size.
This community discusses NixOS, Nix, and everything related.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
i installed nix in my fedora and i can say that in this case just jumping in it is easier because you can search about the errors imo
I know what you mean - the problem with this approach is that things might work, but I am using it not in the way it's intended, because I didn't understand the underlying concepts.. But I cannot search for concepts of which I don't know they exist...
This is absolutely intended. Nix is a programming language, package manager, and operating system.
Nix the package manager is intended to be used on nixos and non-nixos operating systems. It has first party support for Darwin (macOS).
My nixos build is not daily driver ready, so I'm still on Ubuntu for my productivity systems. The majority of the Ubuntu apps I use are managed via nix using home manager at this point. These share the same configurations with my nixos systems.
It is relatively low risk* since nix installs everything in /nix/store and sets up some env vars and user systemd services with symlinks to map to there. If I install Firefox with nix, the Ubuntu version is still there untouched. My PATH just hits nix first before the system. You have to change like one file if I'm remembering correctly after uninstalling if you want to back out which is the trigger for a nix package to come before a native package.
That sounds like something I should try, too.
Currently I'm using Linux Mint and I also have a dotfiles repo, so that sounds quite similar to your case.
lol true, i read a comment that explained it as " nix is for people who need to install different apps all the time, especially programmers who need to test with every different lybrary etc, or people who need to have their system writen in a config file, to deploy it to others computers etc" so for me this isn't viable, i only use nix for a few packages that i want to keep up to day, or packages that fedora don't have, that's way i went with fedora atomic and nix, a stable system but without needing the entire nixOS