Some Linux fixes (#72)

This commit is contained in:
Patrick Stevens
2024-09-08 17:45:20 +01:00
committed by GitHub
parent 88f4111744
commit ceaead9b63
3 changed files with 71 additions and 53 deletions

View File

@@ -149,7 +149,10 @@ in {
port = 1025; # 8126; if using hydroxide
tls = {enable = false;};
};
userName = address;
userName =
if pkgs.stdenv.isLinux
then builtins.head (pkgs.lib.strings.splitString "@" address)
else address;
};
programs.mbsync = {