This commit is contained in:
Bryan Ramos 2026-05-11 21:53:01 -04:00
parent da8ee67320
commit c5c4b97b36
6 changed files with 6 additions and 7 deletions

View file

@ -3,7 +3,6 @@
with lib;
let
cfg = config.modules.user.neovim;
nvimConfigPath = "${config.home.homeDirectory}/nixos/user/modules/neovim/nvim";
in
{ options.modules.user.neovim = { enable = mkEnableOption "user.neovim"; };
@ -34,7 +33,7 @@ in
home.file.".config/nvim" = {
# Keep Neovim's config writable. In a flake, `./nvim` is copied into
# /nix/store before Home Manager can create an out-of-store symlink.
source = config.lib.file.mkOutOfStoreSymlink nvimConfigPath;
source = ./nvim;
recursive = true;
};
};