Forget email, it never worked anyway

This commit is contained in:
niten 2021-11-15 16:25:19 -08:00
parent 6b04af4689
commit 63c2fdd679
2 changed files with 2 additions and 39 deletions

View File

@ -6,7 +6,7 @@ with lib;
let
user-configs = {
niten = ./niten.nix;
root = ./niten.nix;
root = ./root.nix;
viator = ./niten.nix;
xiaoxuan = ./xiaoxuan.nix;
};
@ -14,14 +14,6 @@ let
hostname = config.instance.hostname;
enable-gui = config.fudo.hosts.${hostname}.enable-gui;
user-config-map = {
niten = ./niten.nix;
# FIXME: Root shouldn't have all this stuff installed!
root = ./root.nix;
viator = ./niten.nix;
xiaoxuan = ./xiaoxuan.nix;
};
local-users = let
local-usernames = attrNames config.instance.local-users;
in filterAttrs

View File

@ -170,35 +170,6 @@ in {
};
};
accounts.email.accounts = {
Fudo = {
primary = true;
address = "niten@fudo.org";
aliases = [ "peter@selby.ca" ];
userName = "niten";
realName = "Niten";
imap = {
host = "mail.fudo.org";
port = 993;
tls.enable = true;
};
smtp = {
host = "mail.fudo.org";
port = 587;
tls = {
enable = true;
useStartTls = true;
};
};
};
GMail = {
address = "pselby@gmail.com";
flavor = "gmail.com";
realName = "Peter Selby";
};
};
home = {
packages = if enable-gui then (common-packages ++ gui-packages)
else
@ -243,5 +214,5 @@ in {
};
systemd.user.tmpfiles.rules =
map (dir: "d ${home-dir}/${dir} 700 niten - - -") ensure-directories;
map (dir: "d ${home-dir}/${dir} 700 ${username} - - -") ensure-directories;
}