added forgejo config using sqlite.
This commit is contained in:
		
							parent
							
								
									6dcbb146b7
								
							
						
					
					
						commit
						f91cb5469d
					
				
					 8 changed files with 77 additions and 32 deletions
				
			
		| 
						 | 
				
			
			@ -19,6 +19,7 @@ inputs.nixpkgs.lib.nixosSystem {
 | 
			
		|||
    ../../configs/nixos/sshd.nix
 | 
			
		||||
    ../../configs/nixos/secrets.nix
 | 
			
		||||
    ../../configs/nixos/radicale.nix
 | 
			
		||||
    # ../../configs/nixos/forgejo.nix
 | 
			
		||||
    ({
 | 
			
		||||
      config,
 | 
			
		||||
      pkgs,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -35,4 +35,3 @@
 | 
			
		|||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,12 +8,10 @@
 | 
			
		|||
  imports = [
 | 
			
		||||
    ../../configs/nixos/nginx.nix
 | 
			
		||||
  ];
 | 
			
		||||
  services.nginx.virtualHosts."cal.venberg.xyz" = {
 | 
			
		||||
  services.nginx.virtualHosts."gabevenberg.com" = {
 | 
			
		||||
    enableACME = true;
 | 
			
		||||
    forceSSL = true;
 | 
			
		||||
    locations."/" = {
 | 
			
		||||
      proxyPass = "http://localhost:5232";
 | 
			
		||||
    };
 | 
			
		||||
    root = "/var/www/gabevenberg.com";
 | 
			
		||||
  };
 | 
			
		||||
  networking.firewall.allowedTCPPorts = [443 80];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,9 +6,9 @@
 | 
			
		|||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  services.adguardhome={
 | 
			
		||||
    enable=true;
 | 
			
		||||
    mutableSettings=true;
 | 
			
		||||
    allowDHCP=true;
 | 
			
		||||
  services.adguardhome = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    mutableSettings = true;
 | 
			
		||||
    allowDHCP = true;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue