summaryrefslogtreecommitdiff
path: root/system-profiles
diff options
context:
space:
mode:
Diffstat (limited to 'system-profiles')
-rw-r--r--system-profiles/core.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/system-profiles/core.nix b/system-profiles/core.nix
index f009c178..bd2004df 100644
--- a/system-profiles/core.nix
+++ b/system-profiles/core.nix
@@ -22,8 +22,7 @@ in {
22 networking.hostName = hostName; 22 networking.hostName = hostName;
23 system.configurationRevision = lib.mkIf (flake ? rev) flake.rev; 23 system.configurationRevision = lib.mkIf (flake ? rev) flake.rev;
24 24
25 nixpkgs.pkgs = flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}; 25 nixpkgs.pkgs = flake.legacyPackages.${config.nixpkgs.system};
26 nixpkgs.overlays = lib.attrValues flake.overlays;
27 26
28 nix = { 27 nix = {
29 package = pkgs.nixUnstable; 28 package = pkgs.nixUnstable;
@@ -34,12 +33,13 @@ in {
34 experimental-features = nix-command flakes ca-references 33 experimental-features = nix-command flakes ca-references
35 ''; 34 '';
36 nixPath = [ 35 nixPath = [
37 "nixpkgs=${path}" 36 "nixpkgs=${flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}.path}"
37 "nixpkgs-overlays=${flake.overlays-path.${config.nixpkgs.system}}"
38 ]; 38 ];
39 registry = { 39 registry = {
40 nixpkgs.flake = flakeInputs.nixpkgs; 40 nixpkgs.flake = flakeInputs.nixpkgs;
41 home-manager.flake = flakeInputs.home-manager; 41 home-manager.flake = flakeInputs.home-manager;
42 machines.flake = flake; 42 nixos.flake = flake;
43 }; 43 };
44 }; 44 };
45 45