Use nixpkgs from flake input as NIX_PATH
This commit is contained in:
parent
f48dac30ff
commit
daefb70e6f
2 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, nixpkgs, ... }:
|
||||
{
|
||||
|
||||
nix = {
|
||||
|
|
@ -9,6 +9,9 @@
|
|||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
nixPath = [
|
||||
"nixpkgs=${nixpkgs}"
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue