factorio: move hosting to monolith
This commit is contained in:
		
							parent
							
								
									356a886fb2
								
							
						
					
					
						commit
						8a3046786c
					
				
					 5 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -21,7 +21,6 @@
 | 
			
		|||
    ./invidious.nix
 | 
			
		||||
    ./davi.nix
 | 
			
		||||
    ./goofs.nix
 | 
			
		||||
    ./factorio-server.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  networking.hostName = "phantom";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,24 +0,0 @@
 | 
			
		|||
{ config, pkgs, ... }:
 | 
			
		||||
{
 | 
			
		||||
  services.factorio = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    package = pkgs.unstable.factorio-headless.overrideAttrs (_: rec {
 | 
			
		||||
      version = "2.0.12";
 | 
			
		||||
      src = pkgs.fetchurl {
 | 
			
		||||
        name = "factorio_headless_x64-${version}.tar.xz";
 | 
			
		||||
        url = "https://www.factorio.com/get-download/${version}/headless/linux64";
 | 
			
		||||
        hash = "sha256-0vgg5eJ6ZEFO0TUixNsByCs8YyPGOArgqnXbT5RIjTE=";
 | 
			
		||||
      };
 | 
			
		||||
    });
 | 
			
		||||
    public = true;
 | 
			
		||||
    lan = true;
 | 
			
		||||
    openFirewall = true;
 | 
			
		||||
    admins = [ "lelgenio" ];
 | 
			
		||||
    extraSettingsFile = config.age.secrets.phantom-factorio-settings.path;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  age.secrets.phantom-factorio-settings = {
 | 
			
		||||
    file = ../../secrets/phantom-factorio-settings.age;
 | 
			
		||||
    mode = "777";
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue