Add gameserver-node-1 host
This commit is contained in:
		
					parent
					
						
							
								de504c7792
							
						
					
				
			
			
				commit
				
					
						b380a09560
					
				
			
		
					 4 changed files with 25 additions and 4 deletions
				
			
		
							
								
								
									
										13
									
								
								config/hosts/gameserver-node-1/configuration.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								config/hosts/gameserver-node-1/configuration.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,13 @@
 | 
				
			||||||
 | 
					{ ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  boot.loader.grub = {
 | 
				
			||||||
 | 
					    enable = true;
 | 
				
			||||||
 | 
					    device = "/dev/vda";
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  networking = {
 | 
				
			||||||
 | 
					    hostName = "gameserver-node-1";
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  system.stateVersion = "24.05";
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										6
									
								
								config/hosts/gameserver-node-1/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								config/hosts/gameserver-node-1/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					{ ... }:
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  imports = [
 | 
				
			||||||
 | 
					    ./configuration.nix
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -8,9 +8,10 @@
 | 
				
			||||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
					      inputs.nixpkgs.follows = "nixpkgs";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05";
 | 
					    simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05";
 | 
				
			||||||
 | 
					    pterodactyl.url = "git+https://git.nekover.se/fi/pterodactyl.git";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  outputs = { self, nixpkgs, nixpkgs-unstable, nixpkgs-master, nixos-generators, simple-nixos-mailserver, ... }@inputs:
 | 
					  outputs = { self, nixpkgs, nixpkgs-unstable, nixpkgs-master, nixos-generators, simple-nixos-mailserver, pterodactyl, ... }@inputs:
 | 
				
			||||||
  let
 | 
					  let
 | 
				
			||||||
    hosts = import ./hosts.nix inputs;
 | 
					    hosts = import ./hosts.nix inputs;
 | 
				
			||||||
    helper = import ./helper.nix inputs;
 | 
					    helper = import ./helper.nix inputs;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,9 +26,10 @@ let
 | 
				
			||||||
  }) hosts;
 | 
					  }) hosts;
 | 
				
			||||||
in
 | 
					in
 | 
				
			||||||
  generateDefaults {
 | 
					  generateDefaults {
 | 
				
			||||||
    #fee = {
 | 
					    gameserver-node-1 = {
 | 
				
			||||||
    #  site = "wg";
 | 
					      site = "vs";
 | 
				
			||||||
    #};
 | 
					      environment = "proxmox";
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
    hydra = {
 | 
					    hydra = {
 | 
				
			||||||
      site = "vs";
 | 
					      site = "vs";
 | 
				
			||||||
      environment = "proxmox";
 | 
					      environment = "proxmox";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue