cachix / devenv

Fast, Declarative, Reproducible, and Composable Developer Environments
https://devenv.sh
Apache License 2.0
3.47k stars 252 forks source link

System-wide `devenv.local.nix` #1140

Open qaristote opened 2 weeks ago

qaristote commented 2 weeks ago

I know flakes need to be put inside a flake repository so I don't know if that would even be feasible, but it'd be nice to have a system-wide devenv.local.nix, in ~/.config/devenv for instance. I believe the point of a devenv.local.nix file is to put configurations that are user-specific and should not be tracked. But these user-specific configurations are frequently relevant for all of the user's project: for instance, I manage my nix substituters and keys manually, so that I write cachix.enable = false in devenv.local.nix files in all my projects. A system-wide devenv.local.nix would remove this redundancy.

Anyways, thanks for working on devenv, I find it very useful :)