summaryrefslogtreecommitdiff
path: root/system-profiles
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-01 22:16:57 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-01 22:16:57 +0100
commit0ded132804541286e827dfda599c7a5ff898e07b (patch)
tree8db298842b4d8d1ca80f73d6ba80082ebe642ec0 /system-profiles
parenta8c9742aae6f2672754c8c7f84694cf6a89d5a19 (diff)
downloadnixos-0ded132804541286e827dfda599c7a5ff898e07b.tar
nixos-0ded132804541286e827dfda599c7a5ff898e07b.tar.gz
nixos-0ded132804541286e827dfda599c7a5ff898e07b.tar.bz2
nixos-0ded132804541286e827dfda599c7a5ff898e07b.tar.xz
nixos-0ded132804541286e827dfda599c7a5ff898e07b.zip
implement user profiles
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