nixos: Add initial palace
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				CI / Check, build and cache Nix flake (push) Successful in 16m35s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	CI / Check, build and cache Nix flake (push) Successful in 16m35s
				
			This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
{ lib, ... }:
 | 
			
		||||
let
 | 
			
		||||
  inherit (builtins) elemAt;
 | 
			
		||||
  inherit (lib.my) net;
 | 
			
		||||
  inherit (lib.my) net mkVLAN;
 | 
			
		||||
  inherit (lib.my.c.colony) pubV4 domain prefixes;
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
@@ -141,19 +141,7 @@ in
 | 
			
		||||
                };
 | 
			
		||||
              };
 | 
			
		||||
 | 
			
		||||
              netdevs =
 | 
			
		||||
              let
 | 
			
		||||
                mkVLAN = name: vid: {
 | 
			
		||||
                  "25-${name}" = {
 | 
			
		||||
                    netdevConfig = {
 | 
			
		||||
                      Name = name;
 | 
			
		||||
                      Kind = "vlan";
 | 
			
		||||
                    };
 | 
			
		||||
                    vlanConfig.Id = vid;
 | 
			
		||||
                  };
 | 
			
		||||
                };
 | 
			
		||||
              in
 | 
			
		||||
              mkMerge [
 | 
			
		||||
              netdevs = mkMerge [
 | 
			
		||||
                (mkVLAN "ifog" 409)
 | 
			
		||||
 | 
			
		||||
                (mkVLAN "frys-ix" 701)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user