From 0ded132804541286e827dfda599c7a5ff898e07b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 1 Jan 2021 22:16:57 +0100 Subject: implement user profiles --- system-profiles/core.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'system-profiles') 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 { networking.hostName = hostName; system.configurationRevision = lib.mkIf (flake ? rev) flake.rev; - nixpkgs.pkgs = flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}; - nixpkgs.overlays = lib.attrValues flake.overlays; + nixpkgs.pkgs = flake.legacyPackages.${config.nixpkgs.system}; nix = { package = pkgs.nixUnstable; @@ -34,12 +33,13 @@ in { experimental-features = nix-command flakes ca-references ''; nixPath = [ - "nixpkgs=${path}" + "nixpkgs=${flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}.path}" + "nixpkgs-overlays=${flake.overlays-path.${config.nixpkgs.system}}" ]; registry = { nixpkgs.flake = flakeInputs.nixpkgs; home-manager.flake = flakeInputs.home-manager; - machines.flake = flake; + nixos.flake = flake; }; }; -- cgit v1.2.3