aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2024-12-29 23:23:11 +0900
committerOphestra <cat@gensokyo.uk>2024-12-29 23:23:11 +0900
commit56a73bb019ef807e11ed99bb1e89f032e7a1f393 (patch)
treedbd0641efb6ee341720f2e44a8b0cd44e3f45ccf
parentfb8abf63db8367efce11db6f2ccf4b7775553e0f (diff)
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 <cat@gensokyo.uk>
-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;