Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

um, what is difference between nix-env and nix configuration file #357

Closed
Greenarrow4245 opened this issue May 15, 2024 · 1 comment
Closed

Comments

@Greenarrow4245
Copy link

No description provided.

@Gerschtli
Copy link
Collaborator

Gerschtli commented May 15, 2024

With nix-env you can imperatively install packages (comparable with how package manager like apt, yum, etc. are used). With the nix-on-droid.nix config file, you can declaratively install packages and configure your installation.

In the nix world, we prefer declarative over imperative because it enables easier reproducibility of your system and one single place where your installed packages are maintained.

The nix-on-droid.nix config file behaves similar to the configuration.nix file for NixOS.

More resources regarding that topic can be found at https://nixos.org and https://nix.dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants