Fix nix run

It requires an explicit `nixpkgs=` entry in `NIX_PATH` to work.
This commit is contained in:
Simon Bruder 2020-12-12 17:20:06 +01:00
parent 94d625784a
commit 208922d9f9
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -73,6 +73,7 @@
nix = {
nixPath = [
"/var/src" # pinned nixpkgs and configuration
"nixpkgs=/var/src/nixpkgs" # for nix run
];
# Make sudoers trusted nix users
trustedUsers = [ "@wheel" ];