From 56a73bb019ef807e11ed99bb1e89f032e7a1f393 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 29 Dec 2024 23:23:11 +0900 Subject: [PATCH] nix: create nixpkgs symlink This is included as part of the system as nixGL needs to be built somewhere between activation and start. Signed-off-by: Ophestra --- bundle.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bundle.nix b/bundle.nix index 376e63f..2d5212d 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;