update and fix adguard setup on vps

This commit is contained in:
GammaKinematics 2026-04-23 11:44:34 +07:00
parent 588b4d53bd
commit a8e818f5da
3 changed files with 18 additions and 16 deletions

View file

@ -12,6 +12,7 @@
allowedTCPPorts = [ 22 80 443 2222 ]; allowedTCPPorts = [ 22 80 443 2222 ];
allowedUDPPorts = [ 51820 ]; # Wireguard allowedUDPPorts = [ 51820 ]; # Wireguard
checkReversePath = "loose"; # Required for WireGuard NAT checkReversePath = "loose"; # Required for WireGuard NAT
interfaces.wg0.allowedUDPPorts = [ 53 ]; # AdGuard DNS for VPN clients
}; };
# ============================================================================ # ============================================================================

31
flake.lock generated
View file

@ -75,11 +75,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1773889306, "lastModified": 1776613567,
"narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=", "narHash": "sha256-gC9Cp5ibBmGD5awCA9z7xy6MW6iJufhazTYJOiGlCUI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "5ad85c82cc52264f4beddc934ba57f3789f28347", "rev": "32f4236bfc141ae930b5ba2fb604f561fed5219d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -167,11 +167,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1774738535, "lastModified": 1776904464,
"narHash": "sha256-2jfBEZUC67IlnxO5KItFCAd7Oc+1TvyV/jQlR+2ykGQ=", "narHash": "sha256-sBUCj7/4d3Hoevpu3oQp8ccJNA1EDeVmFi1F8O6VJro=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "769e07ef8f4cf7b1ec3b96ef015abec9bc6b1e2a", "rev": "667b3c47325441e6a444faaf405bba76ec70338a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -197,11 +197,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1774388614, "lastModified": 1776734388,
"narHash": "sha256-tFwzTI0DdDzovdE9+Ras6CUss0yn8P9XV4Ja6RjA+nU=", "narHash": "sha256-vl3dkhlE5gzsItuHoEMVe+DlonsK+0836LIRDnm6MXQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1073dad219cb244572b74da2b20c7fe39cb3fa9e", "rev": "10e7ad5bbcb421fe07e3a4ad53a634b0cd57ffac",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -212,11 +212,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1774386573, "lastModified": 1776548001,
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=", "narHash": "sha256-ZSK0NL4a1BwVbbTBoSnWgbJy9HeZFXLYQizjb2DPF24=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9", "rev": "b12141ef619e0a9c1c84dc8c684040326f27cdcc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -292,6 +292,7 @@
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"repo": "stylix", "repo": "stylix",
"rev": "e31c79f571c5595a155f84b9d77ce53a84745494",
"type": "github" "type": "github"
} }
}, },
@ -401,11 +402,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1774708879, "lastModified": 1776844129,
"narHash": "sha256-rTYvYkQL69/YkZB+MRA/IaX1qJ1lPx5KXoQS2/9+7Mw=", "narHash": "sha256-DaYSEBVzTvUhTuoVe70NHphoq5JKUHqUhlNlN5XnTuU=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "d01d23c798cceef42307d5789bfbce70515e8800", "rev": "90706e6ab801e4fb7bc53343db67583631936192",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -26,7 +26,7 @@
# Stylix - system-wide theming # Stylix - system-wide theming
stylix = { stylix = {
url = "github:nix-community/stylix"; url = "github:nix-community/stylix/e31c79f571c5595a155f84b9d77ce53a84745494";
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
}; };