Add contabo wan for ipv6 support
This commit is contained in:
		
							parent
							
								
									a2c50346f0
								
							
						
					
					
						commit
						ad4a70ffa1
					
				
					 5 changed files with 95 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -10,6 +10,7 @@
 | 
			
		|||
  imports = [
 | 
			
		||||
    # If you want to use modules your own flake exports (from modules/home-manager):
 | 
			
		||||
    # outputs.homeManagerModules.example
 | 
			
		||||
    outputs.nixosModules.contabo.wan
 | 
			
		||||
    inputs.home-manager.nixosModules.home-manager
 | 
			
		||||
    # Or modules exported from other flakes (such as nix-colors):
 | 
			
		||||
    # inputs.nix-colors.homeManagerModules.default
 | 
			
		||||
| 
						 | 
				
			
			@ -121,6 +122,17 @@
 | 
			
		|||
 | 
			
		||||
  networking.firewall.allowedTCPPorts = [22 80 443];
 | 
			
		||||
 | 
			
		||||
  networking.useNetworkd = true;
 | 
			
		||||
 | 
			
		||||
  modules.contabo.wan = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    macAddress = "aa:bb:cc:dd:ee:ff"; # changeme
 | 
			
		||||
    ipAddresses = [
 | 
			
		||||
      "192.0.2.0/32"
 | 
			
		||||
      "2001:db8::1/64"
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # Set your time zone.
 | 
			
		||||
  time.timeZone = "Europe/Amsterdam";
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue