aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bundle.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/bundle.nix b/bundle.nix
index 376e63f1..2d5212d0 100644
--- a/bundle.nix
+++ b/bundle.nix
@@ -66,7 +66,10 @@ let
extraNixOSConfig =
{ pkgs, ... }:
{
- environment.systemPackages = [ pkgs.nix ];
+ environment = {
+ etc.nixpkgs.source = nixpkgs.outPath;
+ systemPackages = [ pkgs.nix ];
+ };
};
nixos = nixpkgs.lib.nixosSystem {
inherit system;