Everything except the actual mail config

This commit is contained in:
Smaug123
2024-04-05 23:52:43 +01:00
parent bf1dfe3d6d
commit aa3d08745a
2 changed files with 20 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{
nixpkgs,
username,
mbsync,
dotnet,
...
}: {
@@ -271,6 +272,7 @@
vimAlias = true;
vimdiffAlias = true;
withPython3 = true;
withRuby = true;
extraLuaConfig = builtins.readFile ./nvim/build-utils.lua + "\n" + builtins.readFile ./nvim/dotnet.lua + "\n" + builtins.replaceStrings ["%PYTHONENV%"] ["${pythonEnv}"] (builtins.readFile ./nvim/init.lua) + "\n" + builtins.readFile ./nvim/python.lua;
@@ -295,6 +297,7 @@
};
home.packages = [
nixpkgs.notmuch
nixpkgs.nodePackages_latest.dockerfile-language-server-nodejs
nixpkgs.nodePackages_latest.bash-language-server
nixpkgs.nodePackages_latest.vscode-json-languageserver
@@ -355,6 +358,20 @@
(nixpkgs.nerdfonts.override {fonts = ["FiraCode" "DroidSansMono"];})
];
programs.mbsync = {
extraConfig = ''
CopyArrivalDate yes
'';
package = mbsync;
};
programs.neomutt = {
extraConfig = ''
set use_threads=threads sort=last-date sort_aux=date
'';
sidebar.enable = true;
vimKeys = true;
};
home.file.".mailcap".source = ./mail/mailcap;
home.file.".ideavimrc".source = ./ideavimrc;
home.file.".config/yt-dlp/config".source = ./youtube-dl.conf;