make various improvements and set up email thingsies

This commit is contained in:
Schrottkatze 2023-04-12 14:14:47 +02:00
parent 5b690d3233
commit c2757356ac
10 changed files with 85278 additions and 13 deletions

View file

@ -50,7 +50,7 @@ in with lib; {
./networking.nix
./polybar.nix
./social.nix
./xkeysnail.nix
#./xkeysnail.nix
./mail.nix
./specific-hardware
]).content;
@ -62,6 +62,14 @@ in with lib; {
nerdfonts montserrat noto-fonts atkinson-hyperlegible
];
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
};
hardware.bluetooth.enable = true;
hardware.keyboard.uhk.enable = true;
#hardware.spacenavd.enable = true;
@ -70,10 +78,6 @@ in with lib; {
virtualisation.libvirtd.enable = true;
boot.plymouth = {
enable = true;
#theme = "glow";
};
services = {
printing.enable = true;
gnome.gnome-keyring.enable = true;

View file

@ -1,12 +1,67 @@
{ config, lib, pkgs, ... }:
let cfg = config.jade.desktop.mail;
let
cfg = config.jade.desktop.mail;
imap = {
host = "imap.migadu.com";
port = 993;
};
smtp = {
host = "smtp.migadu.com";
port = 465;
tls.enable = true;
};
in with lib; {
options.jade.desktop.mail = {
enable = mkEnableOption "Enable thunderbird mail stuff";
};
config = mkIf cfg.enable {
home-manager.users.jade = { pkgs, ... }: {
accounts.email.accounts = {
"Jade" = rec {
inherit imap smtp;
address = "jade@schrottkatze.de";
userName = address;
realName = "Jade";
thunderbird.enable = true;
primary = true;
};
"Logins" = rec {
inherit imap smtp;
address = "logins@schrottkatze.de";
userName = address;
realName = "Logins";
thunderbird.enable = true;
};
"Contact" = rec {
inherit imap smtp;
address = "contact@schrottkatze.de";
userName = address;
realName = "Jade";
thunderbird.enable = true;
};
"Schule" = rec {
inherit imap smtp;
address = "schule@schrottkatze.de";
userName = address;
realName = "Jade";
thunderbird.enable = true;
};
"Admin" = rec {
inherit imap smtp;
address = "admin@schrottkatze.de";
userName = address;
realName = "admin";
thunderbird.enable = true;
};
"CatchAll" = rec {
inherit imap smtp;
address = "catchall@schrottkatze.de";
userName = address;
realName = "Catch all";
thunderbird.enable = true;
};
};
programs.thunderbird = {
enable = true;
profiles.jade = {