Rupert: Add changes for 23.11
This commit is contained in:
		
							parent
							
								
									f678ad57f8
								
							
						
					
					
						commit
						131c18230a
					
				
					 4 changed files with 10 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -74,6 +74,7 @@ in
 | 
			
		|||
    services.flatpak.enable = true;
 | 
			
		||||
    xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
 | 
			
		||||
    xdg.portal.enable = true;
 | 
			
		||||
    xdg.portal.config.common.default = "*";
 | 
			
		||||
 | 
			
		||||
    hardware.bluetooth = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,6 @@ in
 | 
			
		|||
{
 | 
			
		||||
    services.hedgedoc = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        workDir = "/data/hedgedoc";
 | 
			
		||||
        environmentFile = "/secrets/hedgedoc.env";
 | 
			
		||||
        settings = {
 | 
			
		||||
            port = 7000;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,7 +6,7 @@ in
 | 
			
		|||
    services.nextcloud = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        https = true;
 | 
			
		||||
        package = pkgs.nextcloud26;
 | 
			
		||||
        package = pkgs.nextcloud27;
 | 
			
		||||
        hostName = hostName;
 | 
			
		||||
        datadir = "/data/nextcloud";
 | 
			
		||||
        config = {
 | 
			
		||||
| 
						 | 
				
			
			@ -19,7 +19,6 @@ in
 | 
			
		|||
            ];
 | 
			
		||||
        };
 | 
			
		||||
        caching.redis = true;
 | 
			
		||||
        enableBrokenCiphersForSSE = false;
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    services.postgresql = {
 | 
			
		||||
| 
						 | 
				
			
			@ -27,16 +26,14 @@ in
 | 
			
		|||
        ensureUsers = [
 | 
			
		||||
            {
 | 
			
		||||
                name = "nextcloud";
 | 
			
		||||
                ensurePermissions = {
 | 
			
		||||
                    "DATABASE nextcloud" = "ALL PRIVILEGES";
 | 
			
		||||
                };
 | 
			
		||||
            }
 | 
			
		||||
            {
 | 
			
		||||
                name = "superuser";
 | 
			
		||||
                ensurePermissions = {
 | 
			
		||||
                    "ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
 | 
			
		||||
                };
 | 
			
		||||
                ensureDBOwnership = true;
 | 
			
		||||
            }
 | 
			
		||||
            # {
 | 
			
		||||
            #     name = "superuser";
 | 
			
		||||
            #     ensurePermissions = {
 | 
			
		||||
            #         "ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
 | 
			
		||||
            #     };
 | 
			
		||||
            # }
 | 
			
		||||
        ];
 | 
			
		||||
        ensureDatabases = [ "nextcloud" ];
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue