@@ -7,6 +7,7 @@
 | 
			
		||||
          inherit inputs self;
 | 
			
		||||
          flake = self;
 | 
			
		||||
          colors = import ./colors.nix;
 | 
			
		||||
          network = import ./network.nix;
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										17
									
								
								lib/network.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								lib/network.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
{
 | 
			
		||||
  addresses = {
 | 
			
		||||
    wireguard = rec {
 | 
			
		||||
      ipPrefix = "10.55.0";
 | 
			
		||||
      prefixLength = 24;
 | 
			
		||||
      ipsWithPrefixLength = "10.55.0.0/24";
 | 
			
		||||
      ips = {
 | 
			
		||||
        remilia = "${ipPrefix}.1";
 | 
			
		||||
        marisa = "${ipPrefix}.2";
 | 
			
		||||
        satori = "${ipPrefix}.3";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
    domain = {
 | 
			
		||||
      natto = "weirdnatto.in";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user