From b5962597102312e495fe3dfd5cefeecd438fdcb7 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 21 May 2024 20:39:19 +0300 Subject: [PATCH] users/jan: add work account --- users/jan/accounts.secret.nix | Bin 2927 -> 3388 bytes users/jan/davmail.secret.nix | Bin 0 -> 1643 bytes users/jan/default.nix | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 users/jan/davmail.secret.nix diff --git a/users/jan/accounts.secret.nix b/users/jan/accounts.secret.nix index 9b914ad59237d6532f5390be3efb7893afd2a5ae..e4614544ead4a47869f8b54c5c638d96cbb03914 100644 GIT binary patch literal 3388 zcmV-C4a4#PM@dveQdv+`0Pm?Eu~d~{)Z@3-BPX{6N%?FtqK3n*Twnm5t@aL_5ay)D zoE514h=QsrvzO@01Osp5ShGkaBc}I=dmZ9}+H&v}-U!6{N${`cZ!xu$xL(2QPymvR zq2xWA$|fK!qd9E!>Ms#I30dFccyWdkAsx{Jkqb#v`)U9%Q+3=$cvdpKByUO@1Xqj> zt)NoBeXLrEy)vCn>2q6EP4bjEUee669S8KiV5By*!+s44mmsx@`Ppqnf*P|wBLYLG zP~t5MiGva3+G}}66!2p%QHa~ign;pXl?d7?hjQw zO_{9GlRwp&77k<@e`C-b*e!3D)}hI}xt#7soeEb`f=IZ7LI@&-U2Xh_taKi1UixriS>TE>aFkA22t*Uyc`~Hbo zH7k~-TY&Q#6?W8Mv`_lBLUU`U5>bu4R#JL`ID!(bwn@^>g~^7@_j8mWu@hvUA@(=( z?~6H-0ikePOak3U$+iU_WkQs+Q^qFa@1sTyTz}l4(TSC{!d!1OC+AYEJtP2HB>>;U zkA!BnSFGaT-8Fb1!=IAo{51{vX=B>BY9wvktf8Qx$314}hf{=UpKoJBj~p#E{O}pN z5N1kd8Tt-PB;3T1$XqAL4Cx#EbVRYqZ1!p{CoieJfkIcuiZnB@Io>**o3aFg6UJSb zSU{zp_&*A;nMK~tCwLYKgc!vhj{XW$u&LUdML0be*CF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Hj})-U zbRRpsPI|kvjdWqsdqZqXGj~r5jIx$vB2~pcZEXC~FXDPyKVyk`BC*(^- ziRJhx+Mf+aWBG)qOrv3 z%^KErCUiJfnBlS91K0I1#VmqWWn3@q)TAokZ8sHwWh{l(RpwBOSg-hh$xg`V3@Evi z#MEmaP!7h{#EZ`vc*V=ck|lx?$R%@qkOxx|_Exw%lWJDSh8dT`lXQ8vcLsxL3j&;U z=`l|2XxD;&|MMkBsv`gZ diff --git a/users/jan/davmail.secret.nix b/users/jan/davmail.secret.nix new file mode 100644 index 0000000000000000000000000000000000000000..f930881d2581f5e1b06c325b01ee2b7ad12781a4 GIT binary patch literal 1643 zcmV-x29)^#M@dveQdv+`03UP2fa73qM^)q(iRw5J0GiHrF4fw`z^ueV8@xa717cY! zk`3RW`9>rzu&(MvmC_X`A$Km~z=w01U1xlIg6y(srQ4%cLG&VZ50vmAtf+1w{Q72c zf#7jqba+2}iD7M6u?4vz5FojS+{u}#g6}3K@xR+D8Xaq;;`#O`crQ4 zq@w<}p5G}UHc~n!A_XkuW%7~Gi1Nnin^73&6v8?Mf~YYfcUV(G$hVHC&jBdIq{GdP z!E1L@r}V6*8H|v1uuV|c2M#`>Pcf)H0x`m>5u-o(afu; zbM;+C0*w}^tQ2a&IV3HfGM1BRNVy#n~s}>9^DqmRza>Ion;jHSX7>^-4a!?m z_DWr;YYiDE#L6jINPBU??lbBJ+?>}k*l`#3>3u!O^40Db8Ao_C`6uoRIty6C(;~JI zejS=2vu4`=1M*_s4ZtMMXiBD?mc`W`@U9(vXVQJl?j4rF%_b+sA3&2dqxa69mR$=P z0pYLNm~LBjD|QWrGYqrhAc;9bA$0H$@)nY+ELJ>MzuGg&@!k+%rB{<9yO5J!s*|Ra z@n2qDBy^xBZo#?9ZrMLlQJt(=Xq$bi^qnDsLVZzIW7rkCDrD|D2%%NVCm#QMJ%bSC z-4|Zx5&*zE!M&XM2z;TCMFf;oZ=HF#gI&xz-H`R35-v)i%NH?#-v#1aV8YOwE6^C6|cS5PJa!Fc?^Us#L-RA zn1bW-E=ltQNN8E(j`*knl7DL}n84Ae|0$!UFeS%h2zdd8ZI_%WF^u!ip{d^l>Meyq z267~`@!0YQYfKb;=Xda60V{xT8d$AAASbRnS4M(f>OeWCu@CkLE3Nppmv*EnbG%2&&m0xL+uF< z4)9YK_-qLVCz>G4S4m>FRS7!?=8ieO}l&iiUIF1(Zo!&RD0}bgDkx~)#K#O z?QBT1jZ;6_%V9t&wbo+C&nnOyDrw_cV*@Oc=iX)8rG*n0-=EG$?b_5M?(S>Ict`HJ zEdq@qsuu?ae7)}^8wcK2X>&|J_un=Dd$HCsqmvpS9S-hs6K!KB^_5K0bw#RnYOOng zE}EX7AD}0DER-c=`XKd&)kl91u7H(he9BEyxW^>2>ha}u25n~DGdMs literal 0 HcmV?d00001 diff --git a/users/jan/default.nix b/users/jan/default.nix index 20aa6e2..24d25e7 100644 --- a/users/jan/default.nix +++ b/users/jan/default.nix @@ -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