makes neovim config location dynamic

This commit is contained in:
Dennis Schoepf 2025-06-22 20:52:12 +02:00
parent 59bee0701c
commit 3b2db23c98

View file

@ -3,7 +3,6 @@
{ {
xdg.configFile."nvim" = { xdg.configFile."nvim" = {
# mkOutOfStoreSymlink needs an absolute path, otherwise it does not work: https://github.com/nix-community/home-manager/issues/676#issuecomment-1595795685 # 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 "${config.home.homeDirectory}/dev/nix-config/modules/nvim/config";
source = config.lib.file.mkOutOfStoreSymlink /Users/dennis/dev/nix-config/modules/nvim/config;
}; };
} }