diff --git a/modules/mail/himalaya.nix b/modules/mail/himalaya.nix index 88f4cfe..d067e94 100644 --- a/modules/mail/himalaya.nix +++ b/modules/mail/himalaya.nix @@ -21,9 +21,7 @@ accounts.email = { maildirBasePath = "/home/${config.user}/mail"; accounts = { - home = let - address = "${config.user}@${config.mailServer}"; - serverHostname = "mail.${config.mailServer}"; + home = let address = "${config.user}@${config.mailServer}"; in { userName = address; realName = config.fullName; @@ -46,7 +44,7 @@ }; }; imap = { - host = serverHostname; + host = "imap.purelymail.com"; port = 993; tls.enable = true; }; @@ -71,8 +69,8 @@ builtins.toString ./mailpass.age }"; smtp = { - host = serverHostname; - port = 587; + host = "smtp.purelymail.com"; + port = 465; tls.enable = true; }; }; diff --git a/modules/shell/age.nix b/modules/shell/age.nix new file mode 100644 index 0000000..338be8e --- /dev/null +++ b/modules/shell/age.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: { + + home-manager.users.${config.user}.home.packages = with pkgs; [ age ]; + +} diff --git a/modules/shell/default.nix b/modules/shell/default.nix index 5423acb..ad74629 100644 --- a/modules/shell/default.nix +++ b/modules/shell/default.nix @@ -1,11 +1,12 @@ { ... }: { imports = [ - ./fish - ./starship.nix - ./fzf.nix + ./age.nix ./direnv.nix + ./fish + ./fzf.nix ./git.nix ./github.nix + ./starship.nix ./utilities.nix ]; }