all repos — dotfiles @ 3341aec3a12c83d0a8308ad3d0bd13b2276089a5

my *nix dotfiles

nix/sini: k3s: setup registries.yaml
Anirudh Oppiliappan x@icyphox.sh
Sun, 07 Jul 2024 10:47:20 +0300
commit

3341aec3a12c83d0a8308ad3d0bd13b2276089a5

parent

929099851811741a8f72cb2d0d5ca29c56a34c27

1 files changed, 11 insertions(+), 0 deletions(-)

jump to
M hosts/sini/configuration.nixhosts/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";