separate out the import of sources.nix

This commit is contained in:
surtur 2022-04-19 18:01:57 +02:00
parent e9818f358c
commit ee898e593a
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 9 additions and 4 deletions

@ -1,6 +1,10 @@
let let
# Import sources pinnedPkgs = import ./pinned-pkgs.nix;
sources = import ./nix/sources.nix;
# And return that specific nixpkgs overlays = [];
in sources.nixpkgs config = {};
pkgs = pinnedPkgs {
inherit overlays;
};
in pkgs

1
pinned-pkgs.nix Normal file

@ -0,0 +1 @@
import (import ./nix/sources.nix).nixpkgs