summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--default.nix6
-rw-r--r--krebs/3modules/github-hosts-sync.nix6
-rw-r--r--krebs/5pkgs/default.nix1
3 files changed, 8 insertions, 5 deletions
diff --git a/default.nix b/default.nix
index 59a76f81..875f0d5b 100644
--- a/default.nix
+++ b/default.nix
@@ -8,6 +8,12 @@ let
"${user-name}/1systems/${system-name}.nix"
"${user-name}/3modules"
"krebs/3modules"
+ ] ++ [
+ ({ lib, pkgs, ... }: {
+ _module.args.pkgs =
+ (import ./krebs/5pkgs { inherit lib pkgs; }) //
+ (import (./. + "/${user-name}/5pkgs") { inherit lib pkgs; });
+ })
];
};
diff --git a/krebs/3modules/github-hosts-sync.nix b/krebs/3modules/github-hosts-sync.nix
index 207b937d..dbc0cc1d 100644
--- a/krebs/3modules/github-hosts-sync.nix
+++ b/krebs/3modules/github-hosts-sync.nix
@@ -61,9 +61,9 @@ let
${cfg.ssh-identity-file} \
"$ssh_identity_file_target"
- ln -snf ${kpkgs.github-known_hosts} ${cfg.dataDir}/.ssh/known_hosts
+ ln -snf ${pkgs.github-known_hosts} ${cfg.dataDir}/.ssh/known_hosts
'';
- ExecStart = "${kpkgs.github-hosts-sync}/bin/github-hosts-sync";
+ ExecStart = "${pkgs.github-hosts-sync}/bin/github-hosts-sync";
};
};
@@ -77,7 +77,5 @@ let
name = "github-hosts-sync";
uid = 3220554646; # genid github-hosts-sync
};
-
- kpkgs = import ../../krebs/5pkgs { inherit lib pkgs; };
in
out
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix
index 54604382..2f7a24ed 100644
--- a/krebs/5pkgs/default.nix
+++ b/krebs/5pkgs/default.nix
@@ -6,7 +6,6 @@ let
inherit (pkgs) callPackage;
in
-pkgs //
rec {
cac = callPackage ./cac.nix {};
dic = callPackage ./dic.nix {};