diff options
author | makefu <github@syntax-fehler.de> | 2017-06-06 14:03:07 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-06-06 14:03:07 +0200 |
commit | d29217c88bec4023736c77877fd778a13e78b3b3 (patch) | |
tree | 79c16ca9b9ac0bb098b8715a1069a9818dd50679 /shared/2configs | |
parent | 9e04d0132133840fba14aca194f18925e3f353d5 (diff) |
s nix-cacher: split to shack bincache/acng
Diffstat (limited to 'shared/2configs')
-rw-r--r-- | shared/2configs/shack/bincache.nix | 6 | ||||
-rw-r--r-- | shared/2configs/shack/nix-cacher.nix | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/shared/2configs/shack/bincache.nix b/shared/2configs/shack/bincache.nix new file mode 100644 index 000000000..9cd7fae23 --- /dev/null +++ b/shared/2configs/shack/bincache.nix @@ -0,0 +1,6 @@ +{...}: +{ + nix.binaryCaches = [ + "http://wolf.shack:3142/nixos" + ]; +} diff --git a/shared/2configs/shack/nix-cacher.nix b/shared/2configs/shack/nix-cacher.nix index 4fcbf3a4e..8feeca9af 100644 --- a/shared/2configs/shack/nix-cacher.nix +++ b/shared/2configs/shack/nix-cacher.nix @@ -4,6 +4,9 @@ let cfg = config.krebs.apt-cacher-ng; in { + imports = [ + ./bincache.nix + ]; krebs.apt-cacher-ng = { enable = true; port = 3142; |