2023-11-05 11:40:44 +01:00
|
|
|
{
|
2025-12-28 12:06:42 +01:00
|
|
|
lib,
|
|
|
|
|
config,
|
|
|
|
|
pkgs,
|
|
|
|
|
inputs,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
{
|
|
|
|
|
# Nixvim is being used for this
|
2024-01-15 19:45:38 +01:00
|
|
|
programs.neovim = {
|
2024-07-22 14:45:44 +02:00
|
|
|
enable = false;
|
|
|
|
|
vimAlias = false;
|
2024-01-15 19:45:38 +01:00
|
|
|
};
|
2025-12-28 12:06:42 +01:00
|
|
|
xdg.mimeApps.defaultApplications = lib.mkIf config.xdg.mimeApps.enable {
|
|
|
|
|
"text/markdown" = "nvim.desktop";
|
|
|
|
|
"text/html" = "nvim.desktop";
|
|
|
|
|
"text/xml" = "nvim.desktop";
|
|
|
|
|
"text/plain" = "nvim.desktop";
|
|
|
|
|
"text/x-shellscript" = "nvim.desktop";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
|
inputs.alejandra.defaultPackage.${pkgs.stdenv.hostPlatform.system}
|
|
|
|
|
inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.default # import config from github:ahwxorg/nixvim-config
|
|
|
|
|
mermaid-cli
|
|
|
|
|
gnuplot
|
|
|
|
|
];
|
2023-11-05 11:40:44 +01:00
|
|
|
}
|