summaryrefslogtreecommitdiff
path: root/nixpkgs.nix
blob: 30e464ab28c78bc8a75f7a0c3cefc0749c95cfd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, pkgs, lib, ... }:

{
  config = {
    nixpkgs.pkgs = import ./nixpkgs { inherit (config.nixpkgs) config overlays localSystem crossSystem; };

    nix.nixPath = lib.mkForce [
      "nixpkgs=/etc/nixos/nixpkgs"
      "nixos-config=/etc/nixos/configuration.nix"
      "/nix/var/nix/profiles/per-user/root/channels"
    ];
  };
}