mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore: disable nix flake registry
This commit is contained in:
parent
fa7cf40195
commit
b86a604de5
1 changed files with 6 additions and 0 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue