feat: move neovim to own config

This commit is contained in:
Ahwx 2025-12-28 12:06:42 +01:00
parent 273d6e9207
commit a50919b8ff
3 changed files with 24 additions and 16 deletions

View file

@ -1,7 +1,28 @@
{ pkgs, ... }:
{ {
lib,
config,
pkgs,
inputs,
...
}:
{
# Nixvim is being used for this
programs.neovim = { programs.neovim = {
enable = false; enable = false;
vimAlias = 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
];
} }

View file

@ -1,10 +1,4 @@
{ { pkgs, ... }:
inputs,
lib,
pkgs,
config,
...
}:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
# Environment shit # Environment shit
@ -80,11 +74,6 @@
# pip install --user --break-system-packages <package> # pip install --user --break-system-packages <package>
# '') # '')
inputs.alejandra.defaultPackage.${pkgs.stdenv.hostPlatform.system}
inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.default
mermaid-cli
gnuplot
# Email/calendar/etc # Email/calendar/etc
neomutt neomutt
w3m w3m

View file

@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
vimv vimv
@ -27,7 +27,5 @@
wget wget
xxd xxd
borgbackup borgbackup
inputs.alejandra.defaultPackage.${pkgs.stdenv.hostPlatform.system}
inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.default
]; ];
} }