feat(config): Use 1.1.1.1 DNS servers
This commit is contained in:
		
							parent
							
								
									7f34861ef1
								
							
						
					
					
						commit
						eab23ce912
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
					@ -24,6 +24,12 @@
 | 
				
			||||||
  boot.kernelModules = [ "snd-seq" "snd-rawmidi" ];
 | 
					  boot.kernelModules = [ "snd-seq" "snd-rawmidi" ];
 | 
				
			||||||
  hardware.pulseaudio.package = pkgs.pulseaudioFull;
 | 
					  hardware.pulseaudio.package = pkgs.pulseaudioFull;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # Don't use ISP's DNS servers:
 | 
				
			||||||
 | 
					  networking.nameservers = [
 | 
				
			||||||
 | 
					    "1.1.1.1"
 | 
				
			||||||
 | 
					    "1.0.0.1"
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Configure emacs:
 | 
					  # Configure emacs:
 | 
				
			||||||
  # (actually, that's a lie, this only installs emacs!)
 | 
					  # (actually, that's a lie, this only installs emacs!)
 | 
				
			||||||
  services.emacs = {
 | 
					  services.emacs = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,5 +18,10 @@
 | 
				
			||||||
        psk = "washyourface";
 | 
					        psk = "washyourface";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					    # IPv6 at home, of course:
 | 
				
			||||||
 | 
					    nameservers = [
 | 
				
			||||||
 | 
					      "2606:4700:4700::1111"
 | 
				
			||||||
 | 
					      "2606:4700:4700::1001"
 | 
				
			||||||
 | 
					    ];
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue