Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/prepare-build-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
nix_path: nixpkgs=channel:nixos-26.05
extra_nix_config: |
access-tokens = github.com=${{ inputs.github-token }}
substituters = https://nix-proxy.tlctr.me https://cache.nixos.org/ https://nix-cache.tlctr.me/workflows
substituters = https://nix-proxy.tlctr.me https://cache.nixos.org/
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-proxy.tlctr.me:o0mf52dfc6glFzwRRquMmGaphNAidwF6L/q2IFyB9qk= workflows:nGqDVYKhDZxnNXIemS1/Bq2+i1wwQ6GE/xG2OIiMNDw= cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E= mic92.cachix.org-1:gi8IhgiT3CYZnJsaW7fxznzTkMUOn1RY4GmXdT/nXYQ= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= nrdxp.cachix.org-1:Fc5PSqY2Jm1TrWfm88l6cvGWwz3s93c6IOifQWnhNW4= truelecter.cachix.org-1:bWHkQ/OM0MLHB9L6gftyaawCrEYkeZyygAcuojwslE0= nabam-nixos-rockchip.cachix.org-1:BQDltcnV8GS/G86tdvjLwLFz1WeFqSk7O9yl+DR0AVM=

- name: Install Attic with chunking support
Expand Down
104 changes: 52 additions & 52 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# nixpkgs & home-manager
inputs = {
nixpkgs-master.url = "github:nixos/nixpkgs/master";
latest.url = "github:nixos/nixpkgs/nixos-unstable";
latest.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
nixos.follows = "nixpkgs";
# nixos.follows = "latest";
Expand Down Expand Up @@ -204,7 +204,6 @@
nixConfig = {
extra-substituters = [
"https://nix-proxy.tlctr.me"
"https://nix-cache.tlctr.me/workflows"
];
extra-trusted-public-keys = [
"nix-proxy.tlctr.me:o0mf52dfc6glFzwRRquMmGaphNAidwF6L/q2IFyB9qk="
Expand Down
4 changes: 4 additions & 0 deletions nixos/hosts/x86_64/depsos/nix-cache/ncro.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ in {
# real_ip_header CF-Connecting-IP;
# real_ip_recursive on;

appendConfig = ''
worker_rlimit_nofile 65536;
'';

appendHttpConfig = ''
proxy_cache_path ${storagePath} keys_zone=ncro-cache:100m levels=1:2 use_temp_path=off inactive=${cacheValidityDays}d max_size=250g;

Expand Down
Loading
Loading