diff options
Diffstat (limited to 'system-profiles/core.nix')
-rw-r--r-- | system-profiles/core.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/system-profiles/core.nix b/system-profiles/core.nix index 5f2433bb..0ff3a9f4 100644 --- a/system-profiles/core.nix +++ b/system-profiles/core.nix | |||
@@ -36,7 +36,10 @@ in { | |||
36 | networking.hostName = hostName; | 36 | networking.hostName = hostName; |
37 | system.configurationRevision = lib.mkIf (flake ? rev) flake.rev; | 37 | system.configurationRevision = lib.mkIf (flake ? rev) flake.rev; |
38 | 38 | ||
39 | nixpkgs.pkgs = flake.legacyPackages.${config.nixpkgs.system}; | 39 | nixpkgs.pkgs = import flake.legacyPackages.${config.nixpkgs.system}.path { |
40 | inherit (config.nixpkgs) system config; | ||
41 | overlays = lib.attrValues flake.overlays; | ||
42 | }; | ||
40 | 43 | ||
41 | nix = { | 44 | nix = { |
42 | package = pkgs.nixUnstable; | 45 | package = pkgs.nixUnstable; |
@@ -68,5 +71,7 @@ in { | |||
68 | }; | 71 | }; |
69 | 72 | ||
70 | sops.gnupgHome = lib.mkIf hasSops "/root/.gnupg"; | 73 | sops.gnupgHome = lib.mkIf hasSops "/root/.gnupg"; |
74 | |||
75 | environment.systemPackages = [ pkgs.git ] ++ lib.optional hasSops pkgs.gnupg; | ||
71 | }; | 76 | }; |
72 | } | 77 | } |