diff --git a/home/email/.davmail.properties b/home/email/davmail.properties similarity index 100% rename from home/email/.davmail.properties rename to home/email/davmail.properties diff --git a/home/email/work.nix b/home/email/work.nix index 3e830477..adf9b0ac 100644 --- a/home/email/work.nix +++ b/home/email/work.nix @@ -60,7 +60,7 @@ Environment = ["PATH=/run/current-system/sw/bin/:$PATH"]; Restart = "always"; ExecStartPre = with config.home; '' - /bin/sh -c "if [ ! -f ${homeDirectory}/.davmail.properties ]; then cp ${./.davmail.properties} ${homeDirectory}/.davmail.properties; fi; chmod 644 ${homeDirectory}/.davmail.properties" + /bin/sh -c "if [ ! -f ${homeDirectory}/.davmail.properties ]; then cp ${./davmail.properties} ${homeDirectory}/.davmail.properties; fi; chmod 644 ${homeDirectory}/.davmail.properties" ''; ExecStart = "${pkgs.davmail}/bin/davmail -notray ${config.home.homeDirectory}/.davmail.properties"; };