M hosts/home.nix => hosts/home.nix +2 -1
@@ 106,7 106,6 @@
unstable.cinny-desktop # Chat
ffmpeg # Video Support (dslr)
- thunderbird # email client
spotify
obsidian # Text Editor
];
@@ 124,6 123,8 @@
stateVersion = "23.05";
};
+ programs.command-not-found.enable = true;
+
programs = {
home-manager.enable = true;
};
A modules/programs/email.nix => modules/programs/email.nix +37 -0
@@ 0,0 1,37 @@
+{ config, lib, pkgs, location, ... }:
+
+{
+ programs.thunderbird = {
+ enable = true;
+ profiles = {
+ default = {
+ isDefault = true;
+ };
+ };
+ };
+
+ accounts.email = {
+ accounts = {
+ ctu = {
+ primary = true;
+ thunderbird = {
+ enable = true;
+ };
+ address = "bohacfr2@fel.cvut.cz";
+ userName = "bohacfr2";
+ realName = "František Boháček";
+ imap = {
+ host = "imap.fel.cvut.cz";
+ port = 993;
+ };
+ smtp = {
+ host = "smtpx.fel.cvut.cz";
+ port = 465;
+ tls = {
+ enable = true;
+ };
+ };
+ };
+ };
+ };
+}
M modules/programs/home.nix => modules/programs/home.nix +1 -0
@@ 15,4 15,5 @@
./rofi.nix
./clipmenu.nix
./firefox.nix
+ ./email.nix
]