summaryrefslogtreecommitdiffstats
path: root/nin/source.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nin/source.nix')
-rw-r--r--nin/source.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/nin/source.nix b/nin/source.nix
index ccf5e6acc..5b2caec54 100644
--- a/nin/source.nix
+++ b/nin/source.nix
@@ -4,6 +4,11 @@ host@{ name, secure ? false }: let
then "buildbot"
else "nin";
_file = <stockholm> + "/nin/1systems/${name}/source.nix";
+ pkgs = import <nixpkgs> {
+ overlays = map import [
+ <stockholm/krebs/5pkgs>
+ ];
+ };
in
evalSource (toString _file) {
nixos-config.symlink = "stockholm/nin/1systems/${name}/config.nix";
@@ -12,8 +17,5 @@ in
nin = "/home/nin/secrets/${name}";
};
stockholm.file = toString <stockholm>;
- nixpkgs.git = {
- url = https://github.com/nixos/nixpkgs;
- ref = "afe9649";
- };
+ nixpkgs = (import <stockholm/krebs/source.nix> host).nixpkgs;
}