git-subtree-dir: trivionomicon git-subtree-mainline:00d3799f90git-subtree-split:0ae8676d50
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			350 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			350 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{pkgs, ...}: {
 | 
						|
  # Let 'nixos-version --json' know about the Git revision
 | 
						|
  # of this flake.
 | 
						|
  system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
 | 
						|
 | 
						|
  # Network configuration.
 | 
						|
  networking.firewall.allowedTCPPorts = [80];
 | 
						|
 | 
						|
  # Enable a web server.
 | 
						|
  services.httpd = {
 | 
						|
    enable = true;
 | 
						|
    adminAddr = "morty@example.org";
 | 
						|
  };
 | 
						|
}
 |