summaryrefslogtreecommitdiff
path: root/system-profiles
diff options
context:
space:
mode:
Diffstat (limited to 'system-profiles')
-rw-r--r--system-profiles/core/default.nix (renamed from system-profiles/core.nix)5
-rw-r--r--system-profiles/core/nixpkgs.nix6
2 files changed, 8 insertions, 3 deletions
diff --git a/system-profiles/core.nix b/system-profiles/core/default.nix
index f6d5a21e..1368b54f 100644
--- a/system-profiles/core.nix
+++ b/system-profiles/core/default.nix
@@ -8,7 +8,7 @@ in {
8 [ sops-nix.nixosModules.sops 8 [ sops-nix.nixosModules.sops
9 home-manager.nixosModules.home-manager 9 home-manager.nixosModules.home-manager
10 ]; 10 ];
11 11
12 options = { 12 options = {
13 # See mkSystemProfile in ../flake.nix 13 # See mkSystemProfile in ../flake.nix
14 system.profiles = lib.mkOption { 14 system.profiles = lib.mkOption {
@@ -54,8 +54,7 @@ in {
54 experimental-features = nix-command flakes 54 experimental-features = nix-command flakes
55 ''; 55 '';
56 nixPath = [ 56 nixPath = [
57 "nixpkgs=/run/nixpkgs" 57 "nixpkgs=${./nixpkgs.nix}"
58 # "nixpkgs-overlays=/run/nixpkgs-overlays.nix"
59 ]; 58 ];
60 registry = 59 registry =
61 let override = { self = "nixos"; }; 60 let override = { self = "nixos"; };
diff --git a/system-profiles/core/nixpkgs.nix b/system-profiles/core/nixpkgs.nix
new file mode 100644
index 00000000..43bdae4d
--- /dev/null
+++ b/system-profiles/core/nixpkgs.nix
@@ -0,0 +1,6 @@
1args@{
2 overlays ? import /run/nixpkgs-overlays.nix,
3 ...
4}:
5
6import /run/nixpkgs (args // { inherit overlays; })