diff --git a/modules/nvim/default.nix b/modules/nvim/default.nix index cb36ab8..1e04d15 100644 --- a/modules/nvim/default.nix +++ b/modules/nvim/default.nix @@ -3,7 +3,6 @@ { xdg.configFile."nvim" = { # mkOutOfStoreSymlink needs an absolute path, otherwise it does not work: https://github.com/nix-community/home-manager/issues/676#issuecomment-1595795685 - # TODO: At least make the location of the config folder dynamic so that it works on other machines - source = config.lib.file.mkOutOfStoreSymlink /Users/dennis/dev/nix-config/modules/nvim/config; + source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/nix-config/modules/nvim/config"; }; }