nix/sini: k3s: setup registries.yaml
Anirudh Oppiliappan x@icyphox.sh
Sun, 07 Jul 2024 10:47:20 +0300
1 files changed,
11 insertions(+),
0 deletions(-)
jump to
M
hosts/sini/configuration.nix
→
hosts/sini/configuration.nix
@@ -102,6 +102,17 @@ enable = true;
extraFlags = "--disable=traefik --disable=servicelb --disable=metrics-server --bind-address=${address} --node-ip=${address} --node-external-ip=${address}"; }; + environment.etc = { + "rancher/k3s/registries.yaml" = { + text = '' + mirrors: + sini:5000: + endpoint: + - "http://sini:5000" + ''; + }; + }; + services.dockerRegistry = { enable = true; listenAddress = "0.0.0.0";