Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenQy committed Oct 23, 2024
1 parent e9425f2 commit 5ce1b72
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Install nixFlake
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30

- name: Day of week
run: |
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
run: git pull

- name: Install nixFlake
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
trusted-public-keys = zenqy.cachix.org-1:G5csLBsu/kQIOXU7XUiqeMacwzN1WQWv0+GysTVmJgo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
Expand Down
9 changes: 5 additions & 4 deletions modules/nas/sing-box.nix
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,13 @@ let
{
type = "tun";
tag = "tun-in";
inet4_address = "172.16.0.1/30";
inet6_address = "fd00::1/126";
mtu = 1400;
address = [
"172.16.0.1/30"
"fd00::1/126"
];
mtu = 9000;
auto_route = true;
strict_route = false;
stack = "gvisor";
sniff = true;
sniff_override_destination = false;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/server/sing-box.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
listen_port = 443;
tls = {
enabled = true;
server_name = domain;
alpn = [ "h2" ];
acme = {
inherit domain;
email = "zenqy.qin@gmail.com";
Expand Down

0 comments on commit 5ce1b72

Please sign in to comment.