From 35f8c10e7ce9a49ea31a92b8abff069437a77f3c Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 1 Oct 2024 16:04:55 -0600 Subject: [PATCH] [NixOS] k3s registry file working in principle --- nixos/k3s.nix | 2 ++ nixos/secrets/k3s-registry.yaml.age | Bin 0 -> 2698 bytes nixos/secrets/secrets.nix | 1 + 3 files changed, 3 insertions(+) create mode 100644 nixos/secrets/k3s-registry.yaml.age diff --git a/nixos/k3s.nix b/nixos/k3s.nix index 7c79aabc..64dbf1da 100644 --- a/nixos/k3s.nix +++ b/nixos/k3s.nix @@ -13,6 +13,8 @@ in { }; config = mkIf cfg.enable { age.secrets."1896Folsom-k3s-token.age".file = ./secrets/1896Folsom-k3s-token.age; + age.secrets."k3s-registry.yaml.age".file = ./secrets/k3s-registry.yaml.age; + environment.etc."rancher/k3s/registry.yaml".source = config.age.secrets."k3s-registry.yaml.age".path; services.dockerRegistry = { enable = true; listenAddress = "0.0.0.0"; diff --git a/nixos/secrets/k3s-registry.yaml.age b/nixos/secrets/k3s-registry.yaml.age new file mode 100644 index 0000000000000000000000000000000000000000..93903499bc932dfc5e5b22a7c15f2c8118249868 GIT binary patch literal 2698 zcmZ{mxytkk8OKFzoXSRQM-UO>XOhV>ljcD7$u`+n8?*1pB$=#*r#Xt2RyLNF-h+*x zjW=O)P!0#HgCdBph0XWk75sSq8&8<0AJQ%!_vfqZyC3yq4leNN!zbryDn6vi1;b$C z9OR=lkY@^G?neKjY~d0NN!L zUqME^Zn3>OQPwVt+a$wqT)ZMg-_b%UG4nI0jf*bC4rVTK+en7Hu~KWQ2R7vKfo!^{ z3`lJn5op*a2s+q9Y^n_4F>z+Wqff4hJ6y4ZiH(7~qw-p&79s9O|1nLu2Ya)gSD)WJ zxxenO^zu@UNUmFIjyt`RObXxxDCb*S#M^*&^V6%=X-$e0vC(5p9~P=7`)iuC!J{m7 zN@!76_bJT{Q(^s>HVJl)=V#oMU^=)(_vL^+8pt2al8D*X%5i()VUGpoX%Zc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