s nix-cacher: split to shack bincache/acng
This commit is contained in:
parent
9e04d01321
commit
d29217c88b
6
shared/2configs/shack/bincache.nix
Normal file
6
shared/2configs/shack/bincache.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{...}:
|
||||||
|
{
|
||||||
|
nix.binaryCaches = [
|
||||||
|
"http://wolf.shack:3142/nixos"
|
||||||
|
];
|
||||||
|
}
|
|
@ -4,6 +4,9 @@ let
|
||||||
cfg = config.krebs.apt-cacher-ng;
|
cfg = config.krebs.apt-cacher-ng;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./bincache.nix
|
||||||
|
];
|
||||||
krebs.apt-cacher-ng = {
|
krebs.apt-cacher-ng = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 3142;
|
port = 3142;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user