summaryrefslogtreecommitdiff
path: root/system-profiles/core.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system-profiles/core.nix')
-rw-r--r--system-profiles/core.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/system-profiles/core.nix b/system-profiles/core.nix
index 92e068b4..8c4325e2 100644
--- a/system-profiles/core.nix
+++ b/system-profiles/core.nix
@@ -53,7 +53,18 @@ in {
53 ''; 53 '';
54 nixPath = [ 54 nixPath = [
55 "nixpkgs=${flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}.path}" 55 "nixpkgs=${flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}.path}"
56 # "nixpkgs-overlays=${flake.overlays-path.${config.nixpkgs.system}}" 56 "nixpkgs-overlays=${pkgs.writeText "overlays.nix" ''
57 attrValues (import
58 (
59 let lock = builtins.fromJSON (builtins.readFile ${toString ../flake.lock}); in
60 fetchTarball {
61 url = "https://github.com/edolstra/flake-compat/archive/''${lock.nodes.flake-compat.locked.rev}.tar.gz";
62 sha256 = lock.nodes.flake-compat.locked.narHash;
63 }
64 )
65 { src = ${toString ../.}; }
66 ).defaultNix.overlays
67 ''}"
57 ]; 68 ];
58 registry = 69 registry =
59 let override = { self = "nixos"; }; 70 let override = { self = "nixos"; };