Compare commits

...

3 commits

3 changed files with 20 additions and 0 deletions

View file

@ -46,6 +46,7 @@ in
containers.browsers = { containers.browsers = {
autoStart = true; autoStart = true;
ephemeral = true; ephemeral = true;
restartIfChanged = false;
bindMounts = lib.mkMerge [ bindMounts = lib.mkMerge [
{ {

19
notes/davmail.md Normal file
View file

@ -0,0 +1,19 @@
# Davmail
## Update refresh token
Stop current `davmail.service` and clone properties to a temp file
```sh
sudo systemctl stop davmail.service
cat $(sudo systemctl cat davmail.service | awk '/ExecStart=/ { print $2; }') > /tmp/davmail.properties
```
Start davmail manually
```sh
davmail /tmp/davmail.properties
```
Open renew link in the browser and copy `refreshToken` from
`/tmp/davmail.properties`

Binary file not shown.