Comments (3)
Also interested to see what other people are doing. On my machines, I do nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
.
from colmena.
Great! Thanks @zhaofengli! I'll use that.
from colmena.
For future reference, this solution by @ElvishJerricco is better because there is no need to restart existing shell sessions to use the new NIX_PATH. It works by using a layer of indirection:
{
nix.registry = lib.mapAttrs (n: flake: { inherit flake; }) inputs;
environment.etc = lib.mapAttrs' (name: flake: {
name = "nix/inputs/${name}";
value.source = flake.outPath;
}) inputs;
nix.nixPath = [ "/etc/nix/inputs" ];
}
from colmena.
Related Issues (20)
- Feature Request : healthchecks HOT 6
- Fails when using a security key that requires presence verification
- User presence prompt not showing
- streaming evaluator with non-flake deployment and relative path broken
- Use of `vulnix` with colmena HOT 1
- Restart key service unit on change HOT 1
- Deploying a single user profile?
- `colmena apply-local --sudo` succeeds but with exit code 101 HOT 2
- Rebooting should not activate then reboot HOT 3
- --build-on-target fails on macos HOT 3
- Feature request: repl integration HOT 3
- Key services don't work correctly HOT 2
- Feature Request - storing gcroot under /nix/var/nix/ HOT 3
- allow sudo password entry HOT 1
- Streaming evaluator returns exit code 0 even if evaluation fails HOT 1
- Uploading keys is erroring and I don't know why HOT 2
- Allow deploying nix-darwin machines. HOT 1
- Add an option to upload the configuration but don't apply it. HOT 2
- Integration with nix-output-monitor when available HOT 1
- Integration with nvd when available HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colmena.