feat: use http for cache if tailscale not enabled
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
8319e4b87b
commit
045eb7bb00
1 changed files with 5 additions and 1 deletions
|
@ -33,10 +33,14 @@ in {
|
||||||
# Caddy
|
# Caddy
|
||||||
"https://caddycf.cachix.org"
|
"https://caddycf.cachix.org"
|
||||||
]
|
]
|
||||||
++ optionals (!config.services.nix-serve.enable) [
|
++ optionals (!config.services.nix-serve.enable && config.services.tailscale.enable) [
|
||||||
# Personal config cache
|
# Personal config cache
|
||||||
"https://cache.nelim.org"
|
"https://cache.nelim.org"
|
||||||
|
]
|
||||||
|
++ optionals (!config.services.nix-serve.enable && !config.services.tailscale.enable) [
|
||||||
|
"http://10.0.0.249:5000"
|
||||||
];
|
];
|
||||||
|
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
||||||
|
|
Loading…
Reference in a new issue