this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

perf(nixos): more minimal FluxCD installation

Khue Doan 20356976 aadb19ea

+8 -5
+8 -5
infra/_modules/nixos/profiles/k3s-addons.nix
··· 6 6 k3s = { 7 7 manifests = { 8 8 flux = { 9 - source = pkgs.fetchurl { 10 - # nix-prefetch-url 11 - url = "https://github.com/fluxcd/flux2/releases/download/v2.6.4/install.yaml"; 12 - sha256 = "1f1smpa5jwmb6x13w2zb8wdp8a4b2i386h6yp6s2frv64fl47l3w"; 13 - }; 9 + source = pkgs.runCommand "flux-install-manifest" { 10 + nativeBuildInputs = [ pkgs.fluxcd ]; 11 + } '' 12 + mkdir -p $out 13 + flux install \ 14 + --components=source-controller,kustomize-controller,helm-controller \ 15 + --export > $out/flux.yaml 16 + ''; 14 17 }; 15 18 }; 16 19 };