diff --git a/infra/_modules/nixos/configuration.nix b/infra/_modules/nixos/configuration.nix index 3e90819..193b2c2 100644 --- a/infra/_modules/nixos/configuration.nix +++ b/infra/_modules/nixos/configuration.nix @@ -1,4 +1,4 @@ -{ modulesPath, ... }: +{ modulesPath, pkgs, ... }: { imports = [ @@ -77,5 +77,13 @@ }; }; + environment.etc."rancher/k3s/registries.yaml".text = + pkgs.lib.generators.toYAML { } { + # SEe ./profiles/values/registry.yaml for registry service IP + mirrors."registry.registry.svc.cluster.local".endpoint = [ + "http://[fd6a:7c7b:3e12:100::f]:5000" + ]; + }; + system.stateVersion = "25.05"; }