{ config, pkgs, ... }: let dotfiles_nvim = pkgs.fetchgit { url = "https://git.nichkara.eu/nichkara/nvim"; rev = "4b1aa4c6342a5c1df864247aca3e553d81cc82a9"; sha256 = "sha256-0ODOTolosRHVm0Uc2NRGBpUFM5W3C53ScaL9OQQviW0="; }; profile = import ../profile.nix; in { environment.systemPackages = with pkgs; [ vim fzf ripgrep ripgrep-all ]; programs.neovim = { enable = true; defaultEditor = true; withPython3 = true; withRuby = true; withNodeJs = true; }; home-manager.users.${profile.username} = { ... }: { home.file.".config/nvim" = { source = dotfiles_nvim; recursive = true; }; }; }