Use nixpkgs from flake input as NIX_PATH

This commit is contained in:
Paul-Henri Froidmont 2022-07-31 22:40:10 +02:00
parent a2cca0d02d
commit 3ceff75ee5
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
2 changed files with 10 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, nixpkgs, ... }:
{
environment.systemPackages = with pkgs; [
htop
@ -6,4 +6,10 @@
tmux
vim
];
nix = {
nixPath = [
"nixpkgs=${nixpkgs}"
];
};
}