mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-01-19 21:27:59 +08:00
28 lines
672 B
Nix
28 lines
672 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
# Nixvim is being used for this
|
|
programs.neovim = {
|
|
enable = false;
|
|
vimAlias = false;
|
|
};
|
|
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
|
|
];
|
|
}
|