diff --git a/common/users/homeModules/nvim.nix b/common/users/homeModules/nvim.nix index 3c9c7e2..b937c38 100644 --- a/common/users/homeModules/nvim.nix +++ b/common/users/homeModules/nvim.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: { +{pkgs, lib, config, ...}: { home = { packages = with pkgs; [ neovim @@ -6,7 +6,7 @@ file = { nvim = { recursive = true; - source = pkgs.lib.file.mkOutOfStoreSymlink "${pkgs.home.homeDirectory}/nixos/dotfiles/nvim"; + source = lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/nvim"; target = "./.config/nvim"; }; };