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
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.