chore: disable nix flake registry

This commit is contained in:
arcnmx 2025-09-03 20:05:47 -07:00
parent fa7cf40195
commit b86a604de5

View file

@ -66,6 +66,12 @@ in {
"ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=" "ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI="
]; ];
trusted-users = ["root" "@wheel"]; trusted-users = ["root" "@wheel"];
flake-registry = let
registryPath = "nix/registry.json";
in mkMerge [
(mkIf (config.nix.registry != {}) "/etc/${registryPath}")
(mkDefault "")
];
}; };
extraOptions = mkIf hasSops '' extraOptions = mkIf hasSops ''
!include ${config.sops.secrets.github-access-token-public.path} !include ${config.sops.secrets.github-access-token-public.path}