Add some plugins for roundcube
This commit is contained in:
		
							parent
							
								
									dd52391563
								
							
						
					
					
						commit
						96f7deb590
					
				
					 2 changed files with 14 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,6 @@
 | 
			
		|||
  pkgs,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  #The thing you want for multiple domains is SNI, I don't know how to set that up
 | 
			
		||||
  imports = [
 | 
			
		||||
    (builtins.fetchTarball {
 | 
			
		||||
      # Pick a release version you are interested in and set its hash, e.g.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,8 +4,22 @@
 | 
			
		|||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  # TODO: Figure out how to create packages for some plugins for roundcube!
 | 
			
		||||
  # https://packagist.org/search/?query=roundcube
 | 
			
		||||
  # https://discourse.nixos.org/t/roundcube-with-plugins/28292/7
 | 
			
		||||
  services.roundcube = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
 | 
			
		||||
    package = pkgs.roundcube.withPlugins (
 | 
			
		||||
      plugins: [
 | 
			
		||||
        plugins.contextmenu
 | 
			
		||||
        plugins.carddav
 | 
			
		||||
        plugins.custom_from
 | 
			
		||||
        plugins.persistent_login
 | 
			
		||||
        plugins.thunderbird_labels
 | 
			
		||||
      ]
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    # this is the url of the vhost, not necessarily the same as the fqdn of
 | 
			
		||||
    # the mailserver
 | 
			
		||||
    hostName = "webmail.lillianviolet.dev";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue