summaryrefslogtreecommitdiff
path: root/system-profiles
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-03-23 20:45:38 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-03-23 20:45:38 +0100
commit739de7a8fa0ca6c990fd9e7608f69c809cd6f352 (patch)
tree3929a429e74e8e9d83aee6ce7414049b25953251 /system-profiles
parent6273649dbd2402bdbe6a465ee5056408adc41924 (diff)
downloadnixos-739de7a8fa0ca6c990fd9e7608f69c809cd6f352.tar
nixos-739de7a8fa0ca6c990fd9e7608f69c809cd6f352.tar.gz
nixos-739de7a8fa0ca6c990fd9e7608f69c809cd6f352.tar.bz2
nixos-739de7a8fa0ca6c990fd9e7608f69c809cd6f352.tar.xz
nixos-739de7a8fa0ca6c990fd9e7608f69c809cd6f352.zip
...
Diffstat (limited to 'system-profiles')
-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"; };