blob: 624ddfc7ebd3ace1df74cf5c7af62050efd81e1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
let
sources = import ./npins;
pkgs = import sources.nixpkgs { };
config =
if pkgs.stdenv.isDarwin
then "darwin-config"
else "nixos-config";
inherit (import ./lib { inherit pkgs; }) mkNixPath fromSources;
allSources = {
personal = ./packages;
nixpkgs-overlays = ./overlays;
private = ./private;
${config} = ./system/configuration.nix;
} // (fromSources sources);
in
{
sources = allSources;
nixPath = mkNixPath allSources;
}
|