This commit is contained in:
alsaiduq-lab 2025-03-17 15:19:39 -06:00
parent 8de6b91c27
commit a765516271
3 changed files with 47 additions and 170 deletions

View file

@ -1,5 +1,4 @@
{ config, pkgs, lib, ... }:
{
home.packages = with pkgs; [
neovim
@ -15,7 +14,8 @@
lua-language-server
curl
unzip
];
alejandra
];
home.sessionVariables = {
LUA_PATH = "${pkgs.luajit}/share/lua/5.1/?.lua;;";
@ -26,12 +26,15 @@
"$HOME/.local/share/nvim/mason/bin"
];
xdg.configFile."nvim" = {
source = builtins.fetchGit {
url = "https://github.com/alsaiduq-lab/nvim-dotfiles.git";
ref = "master";
rev = "71155b4a4b63d9974f1bc3b66303d6f7e5e06871";
};
recursive = true;
};
xdg.configFile."nvim" =
if !builtins.pathExists "${config.home.homeDirectory}/.config/nvim"
then {
source = builtins.fetchGit {
url = "https://github.com/alsaiduq-lab/nvim-dotfiles.git";
ref = "master";
rev = "71155b4a4b63d9974f1bc3b66303d6f7e5e06871";
};
recursive = true;
}
else null;
}