diff options
| -rw-r--r-- | nixpkgs.nix | 6 | ||||
| -rw-r--r-- | ymir.nix | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/nixpkgs.nix b/nixpkgs.nix index 23bf960b..cc390073 100644 --- a/nixpkgs.nix +++ b/nixpkgs.nix | |||
| @@ -3,5 +3,11 @@ | |||
| 3 | { | 3 | { |
| 4 | config = { | 4 | config = { |
| 5 | nixpkgs.pkgs = import ./nixpkgs { inherit (config.nixpkgs) config overlays localSystem crossSystem; }; | 5 | nixpkgs.pkgs = import ./nixpkgs { inherit (config.nixpkgs) config overlays localSystem crossSystem; }; |
| 6 | |||
| 7 | nix.nixPath = lib.mkForce [ | ||
| 8 | "nixpkgs=${./nixpkgs}" | ||
| 9 | "nixos-config=/etc/nixos/configuration.nix" | ||
| 10 | "/nix/var/nix/profiles/per-user/root/channels" | ||
| 11 | ]; | ||
| 6 | }; | 12 | }; |
| 7 | } | 13 | } |
| @@ -34,6 +34,7 @@ let | |||
| 34 | in rec { | 34 | in rec { |
| 35 | imports = | 35 | imports = |
| 36 | [ | 36 | [ |
| 37 | ./nixpkgs.nix | ||
| 37 | ./ymir/hw.nix | 38 | ./ymir/hw.nix |
| 38 | ./ymir/mlmmj-expose.nix | 39 | ./ymir/mlmmj-expose.nix |
| 39 | ./custom/zsh.nix | 40 | ./custom/zsh.nix |
| @@ -60,8 +61,6 @@ in rec { | |||
| 60 | "net.ipv4.tcp_keepalive_probes" = 6; | 61 | "net.ipv4.tcp_keepalive_probes" = 6; |
| 61 | }; | 62 | }; |
| 62 | 63 | ||
| 63 | nixpkgs.pkgs = import ./nixpkgs { inherit (config.nixpkgs) config overlays localSystem crossSystem; }; | ||
| 64 | |||
| 65 | nixpkgs.config.allowUnfree = true; | 64 | nixpkgs.config.allowUnfree = true; |
| 66 | 65 | ||
| 67 | nixpkgs.overlays = [ | 66 | nixpkgs.overlays = [ |
