email broken

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-04-16 18:20:09 +02:00
parent c6b942bd55
commit b93a75fa97
8 changed files with 86 additions and 14 deletions

View File

@@ -10,6 +10,7 @@ in
./system-modules/sound.nix
./system-modules/grub.nix
./system-modules/dm.nix
./system-modules/networking.nix
./system-modules/hsmw.nix
./system-modules/docker.nix
@@ -18,11 +19,6 @@ in
./system-modules/ollama.nix
];
networking.hostName = "NxXPS";
networking.networkmanager = {
enable = true;
};
@@ -84,6 +80,7 @@ in
dmidecode
];
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk

View File

@@ -1,17 +1,78 @@
{ config, pkgs, lib, system, user, allowed, secrets, ... }:
{ config, pkgs, secrets, ... }:
{
home.packages = with pkgs; [
thunderbird
];
accounts.email.accounts = {
"gamil-online" = {
address = secrets.email.gmail-online.mail;
realName = "Lennart J. Kurzweg";
flavor = "gmail.com";
primary = true;
signature = {
text = ''
--
About Me: https://nx2.site/about-me
Contact: https://nx2.site/contact
GPG: https://nx2.site/gpg
'';
showSignature = "append";
};
thunderbird = {
enable = true;
profiles = [ "default" ];
};
};
"gamil-business" = {
address = secrets.email.gmail-business.mail;
realName = "Lennart J. Kurzweg";
flavor = "gmail.com";
signature = {
text = ''
--
About Me: https://nx2.site/about-me
Contact: https://nx2.site/contact
GPG: https://nx2.site/gpg
'';
showSignature = "append";
};
thunderbird = {
enable = true;
profiles = [ "default" ];
};
};
# home.file.".config/meli.config" = {
# };
"hsmw" = {
address = secrets.email.hsmw.mail;
realName = "Lennart J. Kurzweg";
imap = {
port = 993;
host = "mail.hs-mittweida.de";
};
smtp = {
port = 465;
host = "mail.hs-mittweida.de";
};
signature = {
text = ''
--
MatNr: ${secrets.email.hsmw.mnr}
SemGr: ${secrets.email.hsmw.semgr}
About Me: https://nx2.site/about-me
Contact: https://nx2.site/contact
GPG: https://nx2.site/gpg
'';
showSignature = "append";
};
thunderbird = {
enable = true;
profiles = [ "default" ];
};
};
};
}

View File

@@ -36,5 +36,6 @@
whitespace-error-style = "22 reverse";
};
};
iniContent."sendemail.hsmw".smtpUser = secrets.email.hsmw.mail;
};
}

View File

@@ -41,6 +41,7 @@
donjayamanne.githistory
mads-hartmann.bash-ide-vscode
bungcip.better-toml
arrterian.nix-env-selector
# ms-vscode-remote.remote-ssh
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [

View File

@@ -59,6 +59,7 @@
lynx bat du-dust eza neofetch tldr fzf figlet ripgrep lolcat jq glow
brightnessctl wev
element sssnake pipes
dig
nodejs
gnumake

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, host, ... }:
let
grub-theme-ascii-diana = (pkgs.fetchFromGitea {
domain = "git.nx2.site";
@@ -23,13 +23,22 @@
fontSize = 50;
splashImage = null;
extraEntries = ''
extraEntries = if host == "NxXPS" then ''
menuentry 'Windows 11' --class windows --class os $menuentry_id_option 'osprober-efi-0A97-7A2D' {
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 0A97-7A2D
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
'' else ''
menuentry 'Windows 11' --class windows --class os $menuentry_id_option 'osprober-efi-8932-4A3D' {
insmod part_gpt
insmod fat
search --no-floppy --label --set=root EFI
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
'';
};
}

View File

@@ -2,7 +2,7 @@
{
environment.systemPackages = [
pkgs.strongswan
pkgs.strongswanNM
];
environment.etc = {
@@ -21,6 +21,8 @@
"ipsec.d/USERTrust-RSA.pem".source = ../secrets/vpn-hsmw/USERTrust-RSA-Certification-Authority.pem;
};
networking.networkmanager.enableStrongSwan = true;
services.strongswan = {
enable = true;
setup = {