nixos/britway: Disable override_local_dns for headscale
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				CI / Check, build and cache nixfiles (push) Failing after 12m38s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	CI / Check, build and cache nixfiles (push) Failing after 12m38s
				
			This commit is contained in:
		@@ -4,22 +4,6 @@ let
 | 
				
			|||||||
  inherit (lib.my.c) pubDomain;
 | 
					  inherit (lib.my.c) pubDomain;
 | 
				
			||||||
  inherit (lib.my.c.britway) prefixes domain;
 | 
					  inherit (lib.my.c.britway) prefixes domain;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Can't use overrideAttrs because we need to override `vendorHash` within `buildGoModule`
 | 
					 | 
				
			||||||
  headscale' = (pkgs.headscale.override {
 | 
					 | 
				
			||||||
    buildGoModule = args: pkgs.buildGoModule (args // rec {
 | 
					 | 
				
			||||||
      version = "0.23.0-alpha12";
 | 
					 | 
				
			||||||
      src = pkgs.fetchFromGitHub {
 | 
					 | 
				
			||||||
        owner = "juanfont";
 | 
					 | 
				
			||||||
        repo = "headscale";
 | 
					 | 
				
			||||||
        rev = "v${version}";
 | 
					 | 
				
			||||||
        hash = "sha256-kZZK0cXnFARxblSMz01TDcBbTorkHGAwGpR+a4/mYfU=";
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
      patches = [];
 | 
					 | 
				
			||||||
      vendorHash = "sha256-EorT2AVwA3usly/LcNor6r5UIhLCdj3L4O4ilgTIC2o=";
 | 
					 | 
				
			||||||
      doCheck = false;
 | 
					 | 
				
			||||||
    });
 | 
					 | 
				
			||||||
  });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  advRoutes = concatStringsSep "," [
 | 
					  advRoutes = concatStringsSep "," [
 | 
				
			||||||
    lib.my.c.home.prefixes.all.v4
 | 
					    lib.my.c.home.prefixes.all.v4
 | 
				
			||||||
    lib.my.c.home.prefixes.all.v6
 | 
					    lib.my.c.home.prefixes.all.v6
 | 
				
			||||||
@@ -52,6 +36,7 @@ in
 | 
				
			|||||||
          noise.private_key_path = "/var/lib/headscale/noise_private.key";
 | 
					          noise.private_key_path = "/var/lib/headscale/noise_private.key";
 | 
				
			||||||
          prefixes = with lib.my.c.tailscale.prefix; { inherit v4 v6; };
 | 
					          prefixes = with lib.my.c.tailscale.prefix; { inherit v4 v6; };
 | 
				
			||||||
          dns = {
 | 
					          dns = {
 | 
				
			||||||
 | 
					            override_local_dns = false;
 | 
				
			||||||
            # Use IPs that will route inside the VPN to prevent interception
 | 
					            # Use IPs that will route inside the VPN to prevent interception
 | 
				
			||||||
            # (e.g. DNS rebinding filtering)
 | 
					            # (e.g. DNS rebinding filtering)
 | 
				
			||||||
            nameservers.split = {
 | 
					            nameservers.split = {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user