Replace gitea with forgejo in place
This commit is contained in:
		
							parent
							
								
									e1195f8a49
								
							
						
					
					
						commit
						bca4ef2a70
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -17,7 +17,7 @@
 | 
			
		|||
    # ./nvim.nix
 | 
			
		||||
    ./hardware-configuration.nix
 | 
			
		||||
    ../../package-configs/akkoma/configuration.nix
 | 
			
		||||
    ../../package-configs/gitea/configuration.nix
 | 
			
		||||
    ../../package-configs/forgejo/configuration.nix
 | 
			
		||||
    ../../package-configs/gotosocial/configuration.nix
 | 
			
		||||
    ../../package-configs/mail-server/configuration.nix
 | 
			
		||||
    ../../package-configs/nextcloud/configuration.nix
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,11 +17,14 @@
 | 
			
		|||
  sops.secrets."mailpassunhash".mode = "0440";
 | 
			
		||||
  sops.secrets."mailpassunhash".owner = config.users.users.virtualMail.name;
 | 
			
		||||
 | 
			
		||||
  services.gitea = {
 | 
			
		||||
  services.forgejo = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    user = "gitea";
 | 
			
		||||
    stateDir = "/var/lib/gitea";
 | 
			
		||||
    #TODO: different mail passwords for different services
 | 
			
		||||
    mailerPasswordFile = config.sops.secrets."mailpassunhash".path;
 | 
			
		||||
    database = {
 | 
			
		||||
      user = "gitea";
 | 
			
		||||
      type = "postgres";
 | 
			
		||||
    };
 | 
			
		||||
    settings = {
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue