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

@@ -73,6 +73,7 @@
nixpkgs = pkgs; nixpkgs = pkgs;
username = "patrick"; username = "patrick";
dotnet = pkgs.dotnet-sdk_8; dotnet = pkgs.dotnet-sdk_8;
mbsync = import ./mbsync.nix {inherit pkgs;};
}; };
in [ in [
./home-manager/capybara-config.nix ./home-manager/capybara-config.nix
@@ -96,6 +97,7 @@
nixpkgs = pkgs; nixpkgs = pkgs;
username = "patrick"; username = "patrick";
dotnet = pkgs.dotnet-sdk_8; dotnet = pkgs.dotnet-sdk_8;
mbsync = import ./mbsync.nix {inherit pkgs;};
}; };
in [ in [
./home-manager/earthworm-config.nix ./home-manager/earthworm-config.nix
@@ -123,6 +125,7 @@
username = "patrick"; username = "patrick";
dotnet = pkgs.dotnet-sdk_8; dotnet = pkgs.dotnet-sdk_8;
whisper = whisper.packages.${system}; whisper = whisper.packages.${system};
mbsync = import ./mbsync.nix {inherit pkgs;};
}; };
in [ in [
./darwin-configuration.nix ./darwin-configuration.nix

View File

@@ -1,6 +1,7 @@
{ {
nixpkgs, nixpkgs,
username, username,
mbsync,
dotnet, dotnet,
... ...
}: { }: {
@@ -271,6 +272,7 @@
vimAlias = true; vimAlias = true;
vimdiffAlias = true; vimdiffAlias = true;
withPython3 = 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; 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 = [ home.packages = [
nixpkgs.notmuch
nixpkgs.nodePackages_latest.dockerfile-language-server-nodejs nixpkgs.nodePackages_latest.dockerfile-language-server-nodejs
nixpkgs.nodePackages_latest.bash-language-server nixpkgs.nodePackages_latest.bash-language-server
nixpkgs.nodePackages_latest.vscode-json-languageserver nixpkgs.nodePackages_latest.vscode-json-languageserver
@@ -355,6 +358,20 @@
(nixpkgs.nerdfonts.override {fonts = ["FiraCode" "DroidSansMono"];}) (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.".mailcap".source = ./mail/mailcap;
home.file.".ideavimrc".source = ./ideavimrc; home.file.".ideavimrc".source = ./ideavimrc;
home.file.".config/yt-dlp/config".source = ./youtube-dl.conf; home.file.".config/yt-dlp/config".source = ./youtube-dl.conf;