[thunderbird] Tweak
This commit is contained in:
		
							parent
							
								
									addf2c6c22
								
							
						
					
					
						commit
						94781cecbf
					
				
					 1 changed files with 88 additions and 93 deletions
				
			
		|  | @ -12,7 +12,7 @@ let | ||||||
|       Met vriendelijke groeten |       Met vriendelijke groeten | ||||||
|       Tibo De Peuter |       Tibo De Peuter | ||||||
|        |        | ||||||
|       Student 2Ba Informatica |       Student 2Ba/3Ba Informatica | ||||||
|     ''; |     ''; | ||||||
|     MrFortem = '' |     MrFortem = '' | ||||||
|       Kind regards |       Kind regards | ||||||
|  | @ -22,110 +22,105 @@ let | ||||||
| in { | in { | ||||||
|   config = lib.mkIf cfg.enable { |   config = lib.mkIf cfg.enable { | ||||||
|     home-manager.users.tdpeuter = lib.mkIf config.sisyphus.programs.home-manager.enable { |     home-manager.users.tdpeuter = lib.mkIf config.sisyphus.programs.home-manager.enable { | ||||||
|       home = { |       accounts.email.accounts = { | ||||||
|         accounts.email.accounts = { |         Telenet = { | ||||||
|           Telenet = { |           address  = "tibo.depeuter@telenet.be"; | ||||||
|             address  = "tibo.depeuter@telenet.be"; |           userName = "tibo.depeuter@telenet.be"; | ||||||
|             userName = "tibo.depeuter@telenet.be"; |           imap = { | ||||||
|             imap = { |             host = "imap.telenet.be"; | ||||||
|               host = "imap.telenet.be"; |             port = 993; | ||||||
|               port = 993; |             tls.enable = true; | ||||||
|               tls.enable = true; |           }; | ||||||
|             }; |           smtp = { | ||||||
|             smtp = { |             host = "smtp.telenet.be"; | ||||||
|               host = "smtp.telenet.be"; |             port = 587; | ||||||
|               port = 587; |             tls = { | ||||||
|               tls = { |  | ||||||
|                 enable = true; |  | ||||||
|                 useStartTls = true; |  | ||||||
|               }; |  | ||||||
|             }; |  | ||||||
| 
 |  | ||||||
|             realName = "Tibo De Peuter"; |  | ||||||
|             signature = { |  | ||||||
|               showSignature = "append"; |  | ||||||
|               text = signatures.default; |  | ||||||
|             }; |  | ||||||
| 
 |  | ||||||
|             primary = true; |  | ||||||
|             thunderbird = { |  | ||||||
|               enable = true; |               enable = true; | ||||||
|               settings = id: { |               useStartTls = true; | ||||||
|                 "mail.identity.id_${id}.htmlSigText" = signatures.default; |  | ||||||
|               }; |  | ||||||
|             }; |             }; | ||||||
|           }; |           }; | ||||||
|           UGent = { |  | ||||||
|             flavor = "outlook.office365.com"; |  | ||||||
|             address = "tibo.depeuter@ugent.be"; |  | ||||||
| 
 | 
 | ||||||
|             realName = "Tibo De Peuter"; |           realName = config.users.users.tdpeuter.description; | ||||||
|             signature = { |           signature = { | ||||||
|               showSignature = "append"; |             showSignature = "append"; | ||||||
|               text = signatures.UGent; |             text = signatures.default; | ||||||
|             }; |  | ||||||
| 
 |  | ||||||
|             thunderbird = { |  | ||||||
|               enable = true; |  | ||||||
|               settings = id: { |  | ||||||
|                 "mail.server.server_${id}.authMethod" = 10; |  | ||||||
|                 "mail.smtpserver.smtp_${id}.authMethod" = 10; |  | ||||||
|                 "mail.identity.id_${id}.htmlSigText" = signatures.UGent; |  | ||||||
|               }; |  | ||||||
|             }; |  | ||||||
|           }; |           }; | ||||||
|           Gmail = { |  | ||||||
|             flavor = "gmail.com"; |  | ||||||
|             address = "tibo.depeuter@gmail.com"; |  | ||||||
| 
 | 
 | ||||||
|             realName = "Tibo De Peuter"; |           primary = true; | ||||||
|             signature = { |           thunderbird = { | ||||||
|               showSignature = "append"; |             enable = true; | ||||||
|               text = signatures.default; |             settings = id: { | ||||||
|             }; |               "mail.identity.id_${id}.htmlSigText" = signatures.default; | ||||||
|             thunderbird = { |  | ||||||
|               enable = true; |  | ||||||
|               settings = id: { |  | ||||||
|                 "mail.identity.id_${id}.htmlSigText" = signatures.default; |  | ||||||
|               }; |  | ||||||
|             }; |  | ||||||
| 
 |  | ||||||
|           }; |  | ||||||
|           MrFortem = { |  | ||||||
|             flavor = "gmail.com"; |  | ||||||
|             address = "fortemfiducia@gmail.com"; |  | ||||||
| 
 |  | ||||||
|             realName = "Fortem Fiducia"; |  | ||||||
|             signature = { |  | ||||||
|               showSignature = "attach"; |  | ||||||
|               text = '' |  | ||||||
|                 Kind regards |  | ||||||
|                 MrFortem Fiducia |  | ||||||
|               ''; |  | ||||||
|             }; |  | ||||||
| 
 |  | ||||||
|             thunderbird = { |  | ||||||
|               enable = true; |  | ||||||
|               settings = id: { |  | ||||||
|                 "mail.server.server_${id}.directory" = ".thunderbird/tdpeuter/ImapMail/imap.gmail.com-mrfortem"; |  | ||||||
|                 "mail.server.server_${id}.directory-rel" = "[ProfD]ImapMail/imap.gmail.com-mrfortem"; |  | ||||||
|                 "mail.identity.id_${id}.htmlSigText" = signatures.MrFortem; |  | ||||||
|               }; |  | ||||||
|             }; |             }; | ||||||
|           }; |           }; | ||||||
|         }; |         }; | ||||||
|  |         UGent = { | ||||||
|  |           flavor = "outlook.office365.com"; | ||||||
|  |           address = "tibo.depeuter@ugent.be"; | ||||||
|  | 
 | ||||||
|  |           realName = config.users.users.tdpeuter.description; | ||||||
|  |           signature = { | ||||||
|  |             showSignature = "append"; | ||||||
|  |             text = signatures.UGent; | ||||||
|  |           }; | ||||||
| 
 | 
 | ||||||
|         programs = { |  | ||||||
|           thunderbird = { |           thunderbird = { | ||||||
|             enable = true; |             enable = true; | ||||||
|             profiles.tdpeuter = { |             settings = id: { | ||||||
|               isDefault = true; |               "mail.server.server_${id}.authMethod" = 10; | ||||||
|               settings = { |               "mail.smtpserver.smtp_${id}.authMethod" = 10; | ||||||
|                 "mailnews.default_sort_order" = 2; # Sort descending |               "mail.identity.id_${id}.htmlSigText" = signatures.UGent; | ||||||
|                 "mailnews.mark_message_read.delay" = true; |             }; | ||||||
|                 "mailnews.start_page.enabled" = false; |           }; | ||||||
|                 "mail.pane_config.dynamic" = 2; # Vertical view |         }; | ||||||
|               }; |         Gmail = { | ||||||
|  |           flavor = "gmail.com"; | ||||||
|  |           address = "tibo.depeuter@gmail.com"; | ||||||
|  | 
 | ||||||
|  |           realName = config.users.users.tdpeuter.description; | ||||||
|  |           signature = { | ||||||
|  |             showSignature = "append"; | ||||||
|  |             text = signatures.default; | ||||||
|  |           }; | ||||||
|  |           thunderbird = { | ||||||
|  |             enable = true; | ||||||
|  |             settings = id: { | ||||||
|  |               "mail.identity.id_${id}.htmlSigText" = signatures.default; | ||||||
|  |             }; | ||||||
|  |           }; | ||||||
|  | 
 | ||||||
|  |         }; | ||||||
|  |         MrFortem = { | ||||||
|  |           flavor = "gmail.com"; | ||||||
|  |           address = "fortemfiducia@gmail.com"; | ||||||
|  | 
 | ||||||
|  |           realName = "Fortem Fiducia"; | ||||||
|  |           signature = { | ||||||
|  |             showSignature = "append"; | ||||||
|  |             text = signatures.MrFortem; | ||||||
|  |           }; | ||||||
|  | 
 | ||||||
|  |           thunderbird = { | ||||||
|  |             enable = true; | ||||||
|  |             settings = id: { | ||||||
|  |               "mail.server.server_${id}.directory" = ".thunderbird/tdpeuter/ImapMail/imap.gmail.com-mrfortem"; | ||||||
|  |               "mail.server.server_${id}.directory-rel" = "[ProfD]ImapMail/imap.gmail.com-mrfortem"; | ||||||
|  |               "mail.identity.id_${id}.htmlSigText" = signatures.MrFortem; | ||||||
|  |             }; | ||||||
|  |           }; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  | 
 | ||||||
|  |       programs = { | ||||||
|  |         thunderbird = { | ||||||
|  |           enable = true; | ||||||
|  |           profiles.tdpeuter = { | ||||||
|  |             isDefault = true; | ||||||
|  |             settings = { | ||||||
|  |               "mailnews.default_sort_order" = 2; # Sort descending | ||||||
|  |               "mailnews.mark_message_read.delay" = true; | ||||||
|  |               "mailnews.start_page.enabled" = false; | ||||||
|  |               "mail.pane_config.dynamic" = 2; # Vertical view | ||||||
|             }; |             }; | ||||||
|           }; |           }; | ||||||
|         }; |         }; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue