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-03 20:18:01 +0100
commit5f683a4e264c64b838e6244cf72e9d08d84be26e (patch)
treed8e9e21cf2ea8a374320d887381c67317f4f658b /system-profiles
parent05bc32c1b78c983f11e63dbf01924262e7af42ca (diff)
downloadnixos-5f683a4e264c64b838e6244cf72e9d08d84be26e.tar
nixos-5f683a4e264c64b838e6244cf72e9d08d84be26e.tar.gz
nixos-5f683a4e264c64b838e6244cf72e9d08d84be26e.tar.bz2
nixos-5f683a4e264c64b838e6244cf72e9d08d84be26e.tar.xz
nixos-5f683a4e264c64b838e6244cf72e9d08d84be26e.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