ci: permament builder, https cache, proxy through cloudflared
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
CaZzzer committed 2026-11-25 01:33:46 -08:00
1 parent 48f5ad11fd
commit 8872d44209
19 files changed
+280 -78

No files matched your search

+16 -2
View File
@@ -1,4 +1,9 @@
{ config, pkgs, ... }: {
{ config, pkgs, ... }:
let
vars = import ../vars;
auth = vars.private.cache;
in
{
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@@ -20,7 +25,16 @@
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.extra-substituters = [ "http://10.17.1.100:5000" ];
nix.settings.extra-substituters = [ "https://nix-builder.${vars.domain}" ];
nix.settings.netrc-file = "/etc/nix/netrc";
environment.etc."nix/netrc" = {
mode = "0600";
text = ''
machine nix-builder.${vars.domain}
login ${auth.username}
password ${auth.password}
'';
};
nix.settings.extra-trusted-public-keys = [
"nix-builder:PhxOkUyF2KD9ALkSC6saB2zoPp1o6hMOOpgp5/gngKI="
];