Fix nix run

It requires an explicit `nixpkgs=` entry in `NIX_PATH` to work.
restic-rest-server
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
1 changed files with 1 additions and 0 deletions

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" ];