Does nixCats work only on NixOS or does it also work on any other distro as long as nix is installed? #330
-
|
I think the title says it all |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Any distro that has nix installed. It does not require nixos OR home manager (although it does offer a module for both you could use if desired, and the nixos module also works in nix-darwin) It doesn't even require flakes, you can import it and use it without them enabled, demonstrated in some of the templates. Some of the templates are in flakes, some are just in regular nix files demonstrating usage without flakes, some are demonstrations of useage of the modules. Only the modules require nixos/nix-darwin/home manager. Usage across all the methods is very similar, the modules are most different than the other options, but not by much. The result of the main nixCats builder function is a single derivation you can install anywhere you can install a package, and the non-module templates simply show you how to call it in various ways and export the result/results from the file, and the modules are basically just the module form of that function. |
Beta Was this translation helpful? Give feedback.
Any distro that has nix installed. It does not require nixos OR home manager (although it does offer a module for both you could use if desired, and the nixos module also works in nix-darwin) It doesn't even require flakes, you can import it and use it without them enabled, demonstrated in some of the templates.
Some of the templates are in flakes, some are just in regular nix files demonstrating usage without flakes, some are demonstrations of useage of the modules. Only the modules require nixos/nix-darwin/home manager. Usage across all the methods is very similar, the modules are most different than the other options, but not by much.
The result of the main nixCats builder function is …