24.05 Preparation
							parent
							
								
									cd6c4635b3
								
							
						
					
					
						commit
						3e488d7da0
					
				| 
						 | 
				
			
			@ -21,7 +21,7 @@
 | 
			
		|||
  ];
 | 
			
		||||
  boot.kernelModules = [ "kvm-intel" ];
 | 
			
		||||
  boot.extraModulePackages = [ ];
 | 
			
		||||
  boot.initrd.services.swraid.enable = true;
 | 
			
		||||
  boot.swraid.enable = true;
 | 
			
		||||
 | 
			
		||||
  # Cache and Thin Provisioning Support
 | 
			
		||||
  services.lvm.boot.thin.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -43,9 +43,8 @@ in {
 | 
			
		|||
    port = 5432;
 | 
			
		||||
    ensureUsers = [{
 | 
			
		||||
      name = "gitea";
 | 
			
		||||
      ensurePermissions = {
 | 
			
		||||
        "DATABASE \"gitea\"" = "ALL PRIVILEGES";
 | 
			
		||||
      };
 | 
			
		||||
      # Ensures gitea user owns a db called gitea
 | 
			
		||||
      ensureDBOwnership = true;
 | 
			
		||||
      ensureClauses = {
 | 
			
		||||
        createdb = true;
 | 
			
		||||
      };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -53,9 +53,8 @@
 | 
			
		|||
    ];
 | 
			
		||||
    ensureUsers = [{
 | 
			
		||||
      name = "guacamole";
 | 
			
		||||
      ensurePermissions = {
 | 
			
		||||
        "DATABASE \"guacamole\"" = "ALL PRIVILEGES";
 | 
			
		||||
      };
 | 
			
		||||
      # Ensures guacamole user owns a db called guacamole
 | 
			
		||||
      ensureDBOwnership = true;
 | 
			
		||||
      ensureClauses = {
 | 
			
		||||
        createdb = true;
 | 
			
		||||
      };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue