NixOS configuration for HPC cluster https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
398 B

11 months ago
  1. { config, ... }:
  2. {
  3. programs.msmtp = {
  4. enable = true;
  5. accounts = {
  6. default = {
  7. auth = true;
  8. tls = true;
  9. port = 587;
  10. from = "fdhpc@informatik.hs-fulda.de";
  11. host = "smtp.hs-fulda.de";
  12. user = "fdhpc";
  13. passwordeval = "cat ${config.sops.secrets."mail/password".path}";
  14. };
  15. };
  16. };
  17. sops.secrets."mail/password" = { };
  18. }