Compare commits

..

3 Commits

Author SHA1 Message Date
Giulio De Pasquale
a680860b94 Flake lock update 2023-07-25 20:27:08 +02:00
Giulio De Pasquale
a7c894b3c0 headscale: add binary to path 2023-07-07 02:16:40 +02:00
Giulio De Pasquale
581397ef92 dns: re-enable dnscrypt-proxy 2023-06-27 05:15:39 +02:00
3 changed files with 33 additions and 10 deletions

18
flake.lock generated
View File

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1687647567,
"narHash": "sha256-Ua90LZYJO7/7KW/KK/AqijhIekd+wxPwbVKXuBYzJeQ=",
"lastModified": 1687871164,
"narHash": "sha256-bBFlPthuYX322xOlpJvkjUBz0C+MOBjZdDOOJJ+G2jU=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "6ca1e16eb3016c94b7ac16699e1d4158bd4e39a4",
"rev": "07c347bb50994691d7b0095f45ebd8838cf6bc38",
"type": "github"
},
"original": {
@ -23,11 +23,11 @@
},
"nixos-unstable": {
"locked": {
"lastModified": 1687681650,
"narHash": "sha256-M2If+gRcfpmaJy/XbfSsRzLlPpoU4nr0NHnKKl50fd8=",
"lastModified": 1690179384,
"narHash": "sha256-+arbgqFTAtoeKtepW9wCnA0njCOyoiDFyl0Q0SBSOtE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1c9db9710cb23d60570ad4d7ab829c2d34403de3",
"rev": "b12803b6d90e2e583429bb79b859ca53c348b39a",
"type": "github"
},
"original": {
@ -39,11 +39,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1687787337,
"narHash": "sha256-+OROprXvGAeFG8oHogwCR2E/PmWE4d6CSoTyGw0CQhw=",
"lastModified": 1690298576,
"narHash": "sha256-RLgIGS04t4Rd0viqsx2e9dGViKB6nVsGmO11EagCWmM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "09798f0dd4c11b431765275893d9d395c1e203b8",
"rev": "88f63d511092e95d28e9a7c98534595c53de1048",
"type": "github"
},
"original": {

View File

@ -40,7 +40,7 @@ in
adguardhome = {
enable = true;
settings = {
bind_port = 5353;
bind_port = 5354;
dns = {
port = 5300;
};
@ -50,5 +50,26 @@ in
];
};
};
dnscrypt-proxy2 = {
enable = true;
settings = {
listen_addresses = [ "127.0.0.1:5353" ];
ipv4_servers = true;
ipv6_servers = false;
block_ipv6 = true;
dnscrypt_servers = true;
doh_servers = true;
require_nolog = true;
require_nofilter = true;
timeout = 350;
lb_strategy = "p4";
lb_estimator = true;
ignore_system_dns = true;
fallback_resolvers = [ "1.1.1.1:53" "9.9.9.9:53" ];
cache_min_ttl = 60;
cache_max_ttl = 360;
};
};
};
}

View File

@ -4,6 +4,8 @@ let
domain = "vipienne.giugl.io";
in
{
environment.systemPackages = [ pkgs.headscale ];
architect.firewall = {
openUDP = [ config.services.tailscale.port ];
};