users/jan: add work account
This commit is contained in:
parent
0d18d774ff
commit
b596259710
3 changed files with 18 additions and 0 deletions
Binary file not shown.
BIN
users/jan/davmail.secret.nix
Normal file
BIN
users/jan/davmail.secret.nix
Normal file
Binary file not shown.
|
@ -1,6 +1,8 @@
|
|||
{ config, pkgs, lib, inputs, globalData, ... }:
|
||||
|
||||
{
|
||||
imports = [./davmail.secret.nix];
|
||||
|
||||
nixpkgs.overlays = lib.mkAfter [
|
||||
inputs.nil.overlays.nil
|
||||
inputs.wired.overlays.default
|
||||
|
@ -35,6 +37,22 @@
|
|||
let lanMouseCfg = config.home-manager.users.jan.local.services.lan-mouse;
|
||||
in lib.optional lanMouseCfg.enable lanMouseCfg.settings.port;
|
||||
|
||||
# Required to use MS Exchange in aerc
|
||||
services.davmail = {
|
||||
enable = true;
|
||||
url = "https://outlook.office365.com/EWS/Exchange.asmx";
|
||||
config.davmail = {
|
||||
allowRemote = false;
|
||||
ssl = {
|
||||
nosecurecaldav = false;
|
||||
nosecureimap = false;
|
||||
nosecureldap = false;
|
||||
nosecuresmtp = false;
|
||||
};
|
||||
mode = "O365Manual";
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.jan = {
|
||||
imports = [
|
||||
./accounts.secret.nix
|
||||
|
|
Loading…
Reference in a new issue